mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
iFix a memory leak
Original commit message from CVS: iFix a memory leak
This commit is contained in:
parent
e38fff6ecf
commit
1015073dfe
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-07-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
|
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 8f16cd236828a8bb7be51696029e0e24b7a6c517
|
Subproject commit 5ec931d243c53ddda5b2cbb9a2c21ce89747bcb4
|
|
@ -521,8 +521,12 @@ gst_ffmpegmux_register (GstPlugin * plugin)
|
||||||
|
|
||||||
/* create the type now */
|
/* create the type now */
|
||||||
type = g_type_register_static (GST_TYPE_ELEMENT, type_name, &typeinfo, 0);
|
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;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
g_free (type_name);
|
||||||
|
|
||||||
g_hash_table_insert (global_plugins,
|
g_hash_table_insert (global_plugins,
|
||||||
GINT_TO_POINTER (type), (gpointer) params);
|
GINT_TO_POINTER (type), (gpointer) params);
|
||||||
|
|
Loading…
Reference in a new issue