Commit 1015073d authored by Iain Holmes's avatar Iain Holmes

iFix a memory leak

Original commit message from CVS:
iFix a memory leak
parent e38fff6e
2004-09-16 Iain <iaingnome@gmail.com>
* ext/ffmpeg/gstffmpegmux.c (gst_ffmpegmux_register): Free name fix
leak.
2004-07-21 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
......
common @ 5ec931d2
Subproject commit 8f16cd236828a8bb7be51696029e0e24b7a6c517
Subproject commit 5ec931d243c53ddda5b2cbb9a2c21ce89747bcb4
......@@ -521,8 +521,12 @@ gst_ffmpegmux_register (GstPlugin * plugin)
/* create the type now */
type = g_type_register_static (GST_TYPE_ELEMENT, type_name, &typeinfo, 0);
if (!gst_element_register (plugin, type_name, GST_RANK_NONE, type))
if (!gst_element_register (plugin, type_name, GST_RANK_NONE, type)) {
g_free (type_name);
return FALSE;
}
g_free (type_name);
g_hash_table_insert (global_plugins,
GINT_TO_POINTER (type), (gpointer) params);
......
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