Original commit message from CVS:
reviewed by Benjamin Otte <otte@gnome.org>
* gst/gstparse.c: (_gst_parse_escape):
Free the GString used in _gst_parse_escape()
+2004-04-22 Sebastien Cote <sc5@hermes.usherb.ca>
+
+ reviewed by Benjamin Otte <otte@gnome.org>
+
+ * gst/gstparse.c: (_gst_parse_escape):
+ Free the GString used in _gst_parse_escape()
+
2004-04-21 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstpad.c: (gst_pad_link_negotiate):
_gst_parse_escape (const gchar * str)
{
GString *gstr = NULL;
+ gchar *newstr = NULL;
g_return_val_if_fail (str != NULL, NULL);
str++;
}
- return gstr->str;
+ newstr = gstr->str;
+ g_string_free (gstr, FALSE);
+
+ return newstr;
}
/**