Browse Source
Merge pull request #1695 from martin-frbg/issue1692
Unset memory table entry, not just the local pointer to it on shutdown
tags/v0.3.2^2
Martin Kroeker
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
driver/others/memory.c
|
|
|
@@ -1279,7 +1279,7 @@ void blas_shutdown(void){ |
|
|
|
struct alloc_t *alloc_info = local_memory_table[thread][pos]; |
|
|
|
if (alloc_info) { |
|
|
|
alloc_info->release_func(alloc_info); |
|
|
|
alloc_info = (void *)0; |
|
|
|
local_memory_table[thread][pos] = (void *)0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|