Commit 9d13ff6b authored by David Schleef's avatar David Schleef

ext/ffmpeg/gstffmpegdemux.c: Fix memleaks (bug #138985)

Original commit message from CVS:
reviewed by: David Schleef  <ds@schleef.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):  Fix
memleaks (bug #138985)
parent 7383aa1b
2004-04-03 Tim-Philipp Müller <t.i.m@zen.co.uk>
reviewed by: David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register): Fix
memleaks (bug #138985)
2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/*.c: indent
......
......@@ -711,6 +711,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
/* if it's already registered, drop it */
if (g_type_from_name (type_name)) {
gst_caps_free (videosrccaps);
gst_caps_free (audiosrccaps);
g_free (type_name);
goto next;
}
......@@ -745,6 +747,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
return FALSE;
}
g_free (type_name);
g_free (typefind_name);
if (extensions)
g_strfreev (extensions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment