diff --git a/ChangeLog b/ChangeLog index dc34e53b18..b66c36ff84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-04-03 Tim-Phillip Müller + + reviewed by Benjamin Otte + + * gst/gststructure.c: (gst_structure_free): + memleak fix: free fields array (partial fix for #134839) + 2004-04-01 Ronald Bultje * docs/random/ds/0.9-suggested-changes: diff --git a/gst/gststructure.c b/gst/gststructure.c index eb48e2e13d..70f8fc4d46 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -224,6 +224,7 @@ gst_structure_free (GstStructure * structure) g_value_unset (&field->value); } } + g_array_free (structure->fields, TRUE); #ifdef USE_POISONING memset (structure, 0xff, sizeof (GstStructure)); #endif