1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#28644 Memory status report confused with memory leak

This patch removes a false memory leak error report from the test suite.
There is a test case that puposely provokes a SAFEMALLOC leak report,
even though there is no actual leak.
This commit is contained in:
thek@adventure.(none)
2007-05-24 13:11:45 +02:00
parent 21c137dbf1
commit dec5c2e048
2 changed files with 16 additions and 0 deletions

View File

@ -406,7 +406,9 @@ Next alarm time: %lu\n",
if (thd)
thd->proc_info="malloc";
my_checkmalloc();
fprintf(stdout,"\nBegin safemalloc memory dump:\n"); // tag needed for test suite
TERMINATE(stdout); // Write malloc information
fprintf(stdout,"\nEnd safemalloc memory dump.\n");
#ifdef HAVE_MALLINFO
struct mallinfo info= mallinfo();