mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-03 02:28:53 +00:00
Uninitialize the mutex in SecretService
* Fix resource leak
This commit is contained in:
parent
49dd623e6e
commit
fc0549d2ab
@ -205,6 +205,7 @@ secret_service_finalize (GObject *obj)
|
|||||||
if (self->pv->collections)
|
if (self->pv->collections)
|
||||||
g_hash_table_destroy (self->pv->collections);
|
g_hash_table_destroy (self->pv->collections);
|
||||||
g_clear_object (&self->pv->cancellable);
|
g_clear_object (&self->pv->cancellable);
|
||||||
|
g_mutex_clear (&self->pv->mutex);
|
||||||
|
|
||||||
G_OBJECT_CLASS (secret_service_parent_class)->finalize (obj);
|
G_OBJECT_CLASS (secret_service_parent_class)->finalize (obj);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user