omxvideodec: fix memory leak in gst_omx_video_dec_allocate_output_buffers

https://bugzilla.gnome.org/show_bug.cgi?id=725907
This commit is contained in:
Christian König 2014-03-07 17:12:24 +01:00 committed by Sebastian Dröge
parent 5ac0fe2108
commit 14a0da437f

View file

@ -1222,6 +1222,7 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
add_videometa = gst_buffer_pool_config_has_option (config, add_videometa = gst_buffer_pool_config_has_option (config,
GST_BUFFER_POOL_OPTION_VIDEO_META); GST_BUFFER_POOL_OPTION_VIDEO_META);
gst_structure_free (config);
#if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_EGL) #if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_EGL)
eglimage = self->eglimage && (allocator eglimage = self->eglimage && (allocator