playbin2: Fix stupid bug introduced in last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 19 Nov 2009 11:23:08 +0000 (12:23 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 19 Nov 2009 11:23:08 +0000 (12:23 +0100)
gst/playback/gstplaybin2.c

index 9b87083..b417a8b 100644 (file)
@@ -1114,8 +1114,8 @@ free_group (GstPlayBin * playbin, GstSourceGroup * group)
   g_list_free (group->stream_changed_pending);
   group->stream_changed_pending = NULL;
 
-  if (group->stream_changed_pending_lock);
-  g_mutex_free (group->stream_changed_pending_lock);
+  if (group->stream_changed_pending_lock)
+    g_mutex_free (group->stream_changed_pending_lock);
   group->stream_changed_pending_lock = NULL;
 }