mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 05:35:53 +00:00
colorspace: Fix memory leak
This commit is contained in:
parent
535bf57d1f
commit
df1a470d5d
|
@ -407,7 +407,14 @@ gst_csp_base_init (gpointer klass)
|
||||||
static void
|
static void
|
||||||
gst_csp_finalize (GObject * obj)
|
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);
|
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue