diff options
Diffstat (limited to 'intern/guardedalloc/intern/mallocn_guarded_impl.c')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_guarded_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/intern/mallocn_guarded_impl.c b/intern/guardedalloc/intern/mallocn_guarded_impl.c index d012cce5334..d09f1b83ad4 100644 --- a/intern/guardedalloc/intern/mallocn_guarded_impl.c +++ b/intern/guardedalloc/intern/mallocn_guarded_impl.c @@ -282,7 +282,7 @@ static void mem_unlock_thread(void) thread_unlock_callback(); } -bool MEM_guarded_check_memory_integrity(void) +bool MEM_guarded_consistency_check(void) { const char *err_val = NULL; MemHead *listend; @@ -292,7 +292,7 @@ bool MEM_guarded_check_memory_integrity(void) err_val = check_memlist(listend); - return (err_val != NULL); + return (err_val == NULL); } |