mirror of https://github.com/djcb/mu.git
* mu-query-xapian.c: free self in _destroy; small leak fix
This commit is contained in:
parent
ef6d35f555
commit
39f1936b82
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue