mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gst/gstparse.c: Free the GString used in _gst_parse_escape()
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()
This commit is contained in:
parent
a3cb86522a
commit
15e8b2cfc7
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2004-04-21 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* gst/gstpad.c: (gst_pad_link_negotiate):
|
* gst/gstpad.c: (gst_pad_link_negotiate):
|
||||||
|
|
|
@ -44,6 +44,7 @@ static gchar *
|
||||||
_gst_parse_escape (const gchar * str)
|
_gst_parse_escape (const gchar * str)
|
||||||
{
|
{
|
||||||
GString *gstr = NULL;
|
GString *gstr = NULL;
|
||||||
|
gchar *newstr = NULL;
|
||||||
|
|
||||||
g_return_val_if_fail (str != NULL, NULL);
|
g_return_val_if_fail (str != NULL, NULL);
|
||||||
|
|
||||||
|
@ -56,7 +57,10 @@ _gst_parse_escape (const gchar * str)
|
||||||
str++;
|
str++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return gstr->str;
|
newstr = gstr->str;
|
||||||
|
g_string_free (gstr, FALSE);
|
||||||
|
|
||||||
|
return newstr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue