diff options
author | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
commit | 67ba2e367a2d21321ae58048d131ab39248dea00 (patch) | |
tree | d0b61b703f3c601368669e4acab45d7567a4669b /tests | |
parent | b53757ba91f67885911f677d09a2757774998b7b (diff) | |
download | mariadb-git-67ba2e367a2d21321ae58048d131ab39248dea00.tar.gz |
fixes/cleanups according to Coverity report
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |