mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed some memory leaks
Disabled some asserts that we can't yet have enabled
This commit is contained in:
@@ -373,8 +373,8 @@ void sf_report_leaked_memory(my_thread_id id)
|
||||
{
|
||||
my_thread_id tid = irem->thread_id && irem->flags & MY_THREAD_SPECIFIC ?
|
||||
irem->thread_id : 0;
|
||||
fprintf(stderr, "Warning: %4lu bytes lost, allocated by T@%lu at ",
|
||||
(ulong) irem->datasize,tid);
|
||||
fprintf(stderr, "Warning: %4lu bytes lost at %p, allocated by T@%lu at ",
|
||||
(ulong) irem->datasize, (char*) (irem + 1), tid);
|
||||
print_stack(irem->frame);
|
||||
total+= irem->datasize;
|
||||
}
|
||||
|
Reference in New Issue
Block a user