* mu-query-xapian.c: free self in _destroy; small leak fix

This commit is contained in:
Dirk-Jan C. Binnema 2009-12-11 19:44:05 +02:00
parent ef6d35f555
commit 39f1936b82
1 changed files with 4 additions and 0 deletions

View File

@ -146,7 +146,11 @@ mu_query_xapian_new (const char* path)
void void
mu_query_xapian_destroy (MuQueryXapian *self) mu_query_xapian_destroy (MuQueryXapian *self)
{ {
if (!self)
return;
_uninit_mu_query_xapian (self); _uninit_mu_query_xapian (self);
g_free (self);
} }