From 14a0da437ff83ca5f0037f725179715e6efdbac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Fri, 7 Mar 2014 17:12:24 +0100 Subject: [PATCH] omxvideodec: fix memory leak in gst_omx_video_dec_allocate_output_buffers https://bugzilla.gnome.org/show_bug.cgi?id=725907 --- omx/gstomxvideodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 2a30140101..2e660702a6 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1222,6 +1222,7 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self) add_videometa = gst_buffer_pool_config_has_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); + gst_structure_free (config); #if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_EGL) eglimage = self->eglimage && (allocator