colorspace: Fix memory leak

This commit is contained in:
David Schleef 2011-02-15 18:12:02 -08:00
parent 535bf57d1f
commit df1a470d5d

View file

@ -407,7 +407,14 @@ gst_csp_base_init (gpointer klass)
static void
gst_csp_finalize (GObject * obj)
{
GstCsp *space = GST_CSP (obj);
if (space->convert) {
colorspace_convert_free (space->convert);
}
G_OBJECT_CLASS (parent_class)->finalize (obj);
}
static void