mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
[MOVED FROM BAD 56/68] colorspace: Fix memory leak
This commit is contained in:
parent
be7f42f0ac
commit
3c73b42cee
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue