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 1f658c97dbb0a66ff36a985e4b8609f13d360d25..0cb9a1bde8ae82f235faff71a7fe62347bfbd413 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