From: Adam Dickmeiss Date: Tue, 23 Mar 2010 10:28:16 +0000 (+0100) Subject: Add one call to yaz_mutex_destroy in test X-Git-Tag: v4.0.3~18 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=83bf5a83b9296d6fe16e55d2c54209c35d2fa20b Add one call to yaz_mutex_destroy in test --- diff --git a/test/test_mutex.c b/test/test_mutex.c index 66d6481..843ea8f 100644 --- a/test/test_mutex.c +++ b/test/test_mutex.c @@ -28,6 +28,8 @@ static void tst(void) yaz_mutex_leave(p); yaz_mutex_destroy(&p); YAZ_CHECK(p == 0); + + yaz_mutex_destroy(&p); /* OK to "destroy" NULL handle */ } int main (int argc, char **argv)