Fix null pointer check in blas_memory_alloc

This commit is contained in:
Alex Henrie 2021-01-24 22:20:44 -07:00
parent 0745ba43a4
commit 113840da12
1 changed files with 1 additions and 1 deletions

View File

@ -1241,7 +1241,7 @@ UNLOCK_COMMAND(&alloc_lock);
func = &memoryalloc[0];
while ((func != NULL) && (map_address == (void *) -1)) {
while ((*func != NULL) && (map_address == (void *) -1)) {
map_address = (*func)((void *)base_address);