gst/gstelement.c: And free the GStaticRecMutex too

Original commit message from CVS:
* gst/gstelement.c: (gst_element_finalize):
And free the GStaticRecMutex too
This commit is contained in:
Wim Taymans 2005-10-10 15:17:35 +00:00
parent 8438d17281
commit 9e17ca91dd
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-10 Wim Taymans <wim@fluendo.com>
* gst/gstelement.c: (gst_element_finalize):
And free the GStaticRecMutex too
2005-10-10 Andy Wingo <wingo@pobox.com>
* gst/gstelement.c (gst_element_init, gst_element_finalize):

View file

@ -2215,6 +2215,8 @@ gst_element_finalize (GObject * object)
element->state_cond = NULL;
GST_STATE_UNLOCK (element);
g_static_rec_mutex_free (element->state_lock);
g_free (element->state_lock);
element->state_lock = NULL;
GST_CAT_INFO_OBJECT (GST_CAT_REFCOUNTING, element, "finalize parent");