From 67ba2e367a2d21321ae58048d131ab39248dea00 Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Mon, 24 Jan 2005 15:48:25 +0100 Subject: fixes/cleanups according to Coverity report --- tests/client_test.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/client_test.c b/tests/client_test.c index beaff795d0e..83f8f6ab143 100644 --- a/tests/client_test.c +++ b/tests/client_test.c @@ -10778,6 +10778,12 @@ static void test_bug5194() if (bind == 0 || query == 0 || param_str == 0) { fprintf(stderr, "Can't allocate enough memory for query structs\n"); + if (bind) + free(bind); + if (query) + free(query); + if (param_str) + free(param_str); return; } -- cgit v1.2.1