Commit 3c73b42c authored by David Schleef's avatar David Schleef Committed by Wim Taymans

[MOVED FROM BAD 56/68] colorspace: Fix memory leak

parent be7f42f0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment