1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix two Valgrind memory leak warnings.

This commit is contained in:
knielsen@mysql.com
2006-05-15 18:07:18 +02:00
parent f071779791
commit fc16aff742
7 changed files with 84 additions and 20 deletions

View File

@ -196,8 +196,10 @@ Voluntary context switches %ld, Involuntary context switches %ld\n",
_CrtDumpMemoryLeaks();
#endif
}
if (!(infoflag & MY_DONT_FREE_DBUG))
DBUG_END(); /* Must be done before my_thread_end */
#ifdef THREAD
DBUG_POP(); /* Must be done before my_thread_end */
my_thread_end();
my_thread_global_end();
#if defined(SAFE_MUTEX)