mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
device: Fix memory leak on object destruction
Add the missing chain-up on finalize().
This commit is contained in:
committed by
Bastien Nocera
parent
cc4bac3410
commit
aab923e3cd
@ -149,6 +149,8 @@ static void fprint_device_finalize(GObject *object)
|
|||||||
|
|
||||||
g_hash_table_destroy (priv->clients);
|
g_hash_table_destroy (priv->clients);
|
||||||
/* FIXME close and stuff */
|
/* FIXME close and stuff */
|
||||||
|
|
||||||
|
G_OBJECT_CLASS(fprint_device_parent_class)->finalize(object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fprint_device_set_property(GObject *object, guint property_id,
|
static void fprint_device_set_property(GObject *object, guint property_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user