From 83bf5a83b9296d6fe16e55d2c54209c35d2fa20b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 23 Mar 2010 11:28:16 +0100 Subject: [PATCH] Add one call to yaz_mutex_destroy in test --- test/test_mutex.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4