mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
plugins: fix memory leaks.
This commit is contained in:
parent
d0a9575fc2
commit
c257c3232a
2 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,7 @@ void
|
|||
gst_vaapi_plugin_base_finalize (GstVaapiPluginBase * plugin)
|
||||
{
|
||||
gst_vaapi_plugin_base_close (plugin);
|
||||
g_free (plugin->display_name);
|
||||
if (plugin->sinkpad)
|
||||
gst_object_unref (plugin->sinkpad);
|
||||
if (plugin->srcpad)
|
||||
|
|
|
@ -456,6 +456,7 @@ gst_vaapi_video_format_new_template_caps_from_list (GArray * formats)
|
|||
|
||||
gst_caps_set_value (caps, "format", &v_formats);
|
||||
set_video_template_caps (caps);
|
||||
g_value_unset (&v_formats);
|
||||
#else
|
||||
GstCaps *caps, *tmp_caps;
|
||||
guint i;
|
||||
|
|
Loading…
Reference in a new issue