[Xapian-devel] QueryParser memory leak?
Robert Pollak
robert.pollak at fabasoft.com
Tue Jun 15 14:39:54 BST 2004
Hi Olly,
valgrind showed me what seems to be a memory leak:
QueryParser owns the Stopper and Stem instances it points to (since it
deletes them e.g. in set_stemming_options), but it does not delete them
at destruction.
(Btw., I don't test before deleting, but maybe "delete 0;" does not work
on all platforms?)
--
Robert Pollak
GPG Key ID: 748646AD
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: queryparser-leak.patch
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20040615/3d324883/attachment.ksh>
More information about the Xapian-devel
mailing list