From 0a8a8aac5204985f78693b84587f7cc44b82ee91 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 14 Mar 2012 17:48:40 +0100 Subject: [PATCH] mpeg2enc: also clear initialized mutex and cond --- ext/mpeg2enc/gstmpeg2enc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc index 4e8eaaccdb..f504be53bc 100644 --- a/ext/mpeg2enc/gstmpeg2enc.cc +++ b/ext/mpeg2enc/gstmpeg2enc.cc @@ -152,6 +152,8 @@ gst_mpeg2enc_finalize (GObject * object) delete enc->options; g_queue_free (enc->time); + g_mutex_clear (&enc->tlock); + g_cond_clear (&enc->cond); G_OBJECT_CLASS (parent_class)->finalize (object); }