From 971c7a7b4af8664bc402f76f9e43a895c296e2bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 1 Jan 2015 09:51:43 +0100 Subject: [PATCH] Fix a memory leak in the isds_find_box_by_fulltext() --- src/isds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/isds.c b/src/isds.c index cb1d5ac..5f04139 100644 --- a/src/isds.c +++ b/src/isds.c @@ -7740,6 +7740,7 @@ isds_error isds_find_box_by_fulltext(struct isds_ctx *context, if (NULL != last_page) { EXTRACT_BOOLEAN("isds:lastPage", *last_page); } + xmlXPathFreeObject(result); result = NULL; /* Extract boxes if they present */ result = xmlXPathEvalExpression(BAD_CAST -- 2.11.4.GIT