From bb377dbd3556e105276c277bf967caf38d800c39 Mon Sep 17 00:00:00 2001 From: Ewald Dieterich Date: Fri, 20 Sep 2024 09:17:18 +0200 Subject: [PATCH] Fix memory leak in fts_flatcurve_xapian_query_iter_next() --- src/fts-backend-flatcurve-xapian.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fts-backend-flatcurve-xapian.cpp b/src/fts-backend-flatcurve-xapian.cpp index 7a1fb02..c9dd8d0 100644 --- a/src/fts-backend-flatcurve-xapian.cpp +++ b/src/fts-backend-flatcurve-xapian.cpp @@ -1794,6 +1794,7 @@ fts_flatcurve_xapian_query_iter_deinit(struct fts_flatcurve_xapian_query_iter ** * allocated internally. */ *_iter = NULL; iter->i.~MSetIterator(); + iter->m.~MSet(); delete(iter->enquire); p_free(iter->query->pool, iter->result); p_free(iter->query->pool, iter);