mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
gst/gststructure.c: memleak fix: free fields array (partial fix for #134839)
Original commit message from CVS: reviewed by Benjamin Otte <otte@gnome.org> * gst/gststructure.c: (gst_structure_free): memleak fix: free fields array (partial fix for #134839)
This commit is contained in:
parent
d355246b0d
commit
2396af9dc4
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-04-03 Tim-Phillip Müller <t.i.m@zen.co.uk>
|
||||||
|
|
||||||
|
reviewed by Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* gst/gststructure.c: (gst_structure_free):
|
||||||
|
memleak fix: free fields array (partial fix for #134839)
|
||||||
|
|
||||||
2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* docs/random/ds/0.9-suggested-changes:
|
* docs/random/ds/0.9-suggested-changes:
|
||||||
|
|
|
@ -224,6 +224,7 @@ gst_structure_free (GstStructure * structure)
|
||||||
g_value_unset (&field->value);
|
g_value_unset (&field->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
g_array_free (structure->fields, TRUE);
|
||||||
#ifdef USE_POISONING
|
#ifdef USE_POISONING
|
||||||
memset (structure, 0xff, sizeof (GstStructure));
|
memset (structure, 0xff, sizeof (GstStructure));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue