diff options
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(); |