diff options
author | Sergei Golubchik <serg@mysql.com> | 2009-01-19 16:27:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mysql.com> | 2009-01-19 16:27:49 +0100 |
commit | 9aa2ada9d007a41d4e58447ea405b646c4d53ea3 (patch) | |
tree | 9bac23eb9d017de4e01e052cef0352cccd8161db /unittest | |
parent | e3da48ba691f58785e0166c75f8b6fcaabe9c85d (diff) | |
download | mariadb-git-9aa2ada9d007a41d4e58447ea405b646c4d53ea3.tar.gz |
compilation fixes
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/mysys/waiting_threads-t.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest/mysys/waiting_threads-t.c b/unittest/mysys/waiting_threads-t.c index 157835087b5..74c18fda7b9 100644 --- a/unittest/mysys/waiting_threads-t.c +++ b/unittest/mysys/waiting_threads-t.c @@ -262,7 +262,9 @@ void do_tests() wt_thd_release_all(& thds[cnt].thd); wt_thd_destroy(& thds[cnt].thd); pthread_mutex_destroy(& thds[cnt].lock); +#ifndef DBUG_OFF free(thds[cnt].thd.name); +#endif } pthread_mutex_unlock(&lock); wt_end(); |