summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-03-07 17:12:24 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-08 15:23:59 +0100
commit14a0da437ff83ca5f0037f725179715e6efdbac4 (patch)
tree0638dcf3b6bd7f258721f3214bfd81dbbbb16841
parent5ac0fe21086f25d56aeb804fa69c325cc74c120f (diff)
omxvideodec: fix memory leak in gst_omx_video_dec_allocate_output_buffers
https://bugzilla.gnome.org/show_bug.cgi?id=725907
-rw-r--r--omx/gstomxvideodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 2a30140..2e66070 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