fp-print: Unref the prints on finalize
This commit is contained in:
parent
5dc3edf07c
commit
f6f689f9cd
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ fp_print_finalize (GObject *object)
|
||||||
g_clear_pointer (&self->description, g_free);
|
g_clear_pointer (&self->description, g_free);
|
||||||
g_clear_pointer (&self->enroll_date, g_date_free);
|
g_clear_pointer (&self->enroll_date, g_date_free);
|
||||||
g_clear_pointer (&self->data, g_variant_unref);
|
g_clear_pointer (&self->data, g_variant_unref);
|
||||||
|
g_clear_pointer (&self->prints, g_ptr_array_unref);
|
||||||
|
|
||||||
G_OBJECT_CLASS (fp_print_parent_class)->finalize (object);
|
G_OBJECT_CLASS (fp_print_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue