From: Adam Dickmeiss Date: Sat, 18 Oct 2008 12:03:50 +0000 (+0200) Subject: Fixed leak WRT ZOOM_query X-Git-Tag: v1.1.0~87 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=ef3191cc8204cbca5fc4d85bb36476ab91a27ca7;p=pazpar2-moved-to-github.git Fixed leak WRT ZOOM_query --- 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);