Refuse to free the packm thread info if it uses the single threaded version

This commit is contained in:
Tyler Smith
2015-03-27 14:27:51 -05:00
parent 016fc58758
commit ddf62ba7d2

View File

@@ -36,7 +36,7 @@
void bli_packm_thrinfo_free( packm_thrinfo_t* thread )
{
if( thread != NULL )
if( thread != NULL && thread != &BLIS_PACKM_SINGLE_THREADED)
bli_free(thread);
}