ext/xvid/gstxvidenc.c: Unset GValues after using them. Fixes bug #515720.

Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
Unset GValues after using them. Fixes bug #515720.
This commit is contained in:
Sebastian Dröge 2008-02-11 13:33:10 +00:00
parent 4ee3275d76
commit 8142dfd712
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
Unset GValues after using them. Fixes bug #515720.
2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
* tests/check/Makefile.am:

View file

@ -496,6 +496,7 @@ gst_xvidenc_init (GstXvidEnc * xvidenc)
g_param_value_set_default (pspec, &val);
g_object_set_property (G_OBJECT (xvidenc), g_param_spec_get_name (pspec),
&val);
g_value_unset (&val);
}
g_free (pspecs);