From ef3191cc8204cbca5fc4d85bb36476ab91a27ca7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 18 Oct 2008 14:03:50 +0200 Subject: [PATCH] Fixed leak WRT ZOOM_query --- src/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.c b/src/client.c index 684e14b..d67712e 100644 --- a/src/client.c +++ b/src/client.c @@ -480,6 +480,7 @@ void client_start_search(struct client *cl) ZOOM_query q = ZOOM_query_create(); ZOOM_query_cql(q, cl->cqlquery); rs = ZOOM_connection_search(link, q); + ZOOM_query_destroy(q); } else rs = ZOOM_connection_search_pqf(link, cl->pquery); -- 1.7.10.4