diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-14 19:41:27 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-19 11:03:15 +0200 |
commit | 3aabf06c86118e69143a67e0aae26ca8a156324d (patch) | |
tree | 75ff36452f866a00845c7fc6b0082135fd46c987 /gst/frei0r/gstfrei0rmixer.c | |
parent | 32a0af3e54935e2ee2945d5ac2e791bd03d6afa3 (diff) | |
download | gst-plugins-bad-3aabf06c86118e69143a67e0aae26ca8a156324d.tar.gz gst-plugins-bad-3aabf06c86118e69143a67e0aae26ca8a156324d.tar.bz2 gst-plugins-bad-3aabf06c86118e69143a67e0aae26ca8a156324d.zip |
frei0r: Free type names
Diffstat (limited to 'gst/frei0r/gstfrei0rmixer.c')
-rw-r--r-- | gst/frei0r/gstfrei0rmixer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/frei0r/gstfrei0rmixer.c b/gst/frei0r/gstfrei0rmixer.c index a0252f7c..e3c022f5 100644 --- a/gst/frei0r/gstfrei0rmixer.c +++ b/gst/frei0r/gstfrei0rmixer.c @@ -754,6 +754,7 @@ gst_frei0r_mixer_register (GstPlugin * plugin, const f0r_plugin_info_t * info, GType type; gchar *type_name, *tmp; GstFrei0rMixerClassData *class_data; + gboolean ret = FALSE; if (ftable->update2 == NULL) return FALSE; @@ -779,5 +780,8 @@ gst_frei0r_mixer_register (GstPlugin * plugin, const f0r_plugin_info_t * info, typeinfo.class_data = class_data; type = g_type_register_static (GST_TYPE_ELEMENT, type_name, &typeinfo, 0); - return (gst_element_register (plugin, type_name, GST_RANK_NONE, type)); + ret = gst_element_register (plugin, type_name, GST_RANK_NONE, type); + + g_free (type_name); + return ret; } |