GNOME Bugzilla – Bug 343827
leak in gst_index_gtype_resolver
Last modified: 2006-06-07 08:38:50 UTC
spotted by coverity checker (CID: 2775) 561 *writer_string = g_strdup_printf ("%s.%s", 562 g_type_name (G_OBJECT_TYPE (element)), gst_object_get_name (writer)); the string returned by gst_object_get_name is leaked
btw, some grepping shows similar leaks, e.g. : ./tools/gst-xmlinspect.c: g_print (" %s (%s)\n", gst_object_get_name (GST_OBJECT (feature)), and others
* gst/gstindex.c: (gst_index_gtype_resolver): * tools/gst-xmlinspect.c: (print_plugin_info): Fix leak spotted by coverity checker. Fixes #343827 Fix another other leak found by paolo borelli.