rtmpsink: Free URI string in finalize()
authorHavard Graff <havard.graff@gmail.com>
Sun, 19 Oct 2014 18:35:41 +0000 (20:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 20 Oct 2014 07:36:40 +0000 (09:36 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=738674

ext/rtmp/gstrtmpsink.c

index 58ee057ad0edf0a3061e95fff6d157f9ccaa2721..eccc0b532eb23edd1ab16f48581059e6ac5663ae 100644 (file)
@@ -139,6 +139,7 @@ gst_rtmp_sink_finalize (GObject * object)
 #ifdef G_OS_WIN32
   WSACleanup ();
 #endif
+  g_free (sink->uri);
 
   G_OBJECT_CLASS (parent_class)->finalize (object);
 }