discoverer: fix leaks caused by some base class dtors not being called
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 11 Jan 2012 12:52:17 +0000 (12:52 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 11 Jan 2012 12:52:17 +0000 (12:52 +0000)
gst-libs/gst/pbutils/gstdiscoverer-types.c

index 1f658c9..0cb9a1b 100644 (file)
@@ -210,6 +210,7 @@ static void
 gst_discoverer_audio_info_finalize (GstDiscovererAudioInfo * info)
 {
   g_free (info->language);
+  gst_discoverer_stream_info_finalize ((GstDiscovererStreamInfo *) info);
 }
 
 static void
@@ -263,6 +264,7 @@ static void
 gst_discoverer_subtitle_info_finalize (GstDiscovererSubtitleInfo * info)
 {
   g_free (info->language);
+  gst_discoverer_stream_info_finalize ((GstDiscovererStreamInfo *) info);
 }
 
 static void