vulkan: add a couple of missing fence unrefs

This commit is contained in:
Matthew Waters 2019-11-18 15:20:18 +11:00 committed by GStreamer Merge Bot
parent a3454edeb2
commit 4f3051fd2d
2 changed files with 2 additions and 0 deletions

View file

@ -998,6 +998,7 @@ _raw_to_image_perform (gpointer impl, GstBuffer * inbuf, GstBuffer ** outbuf)
gst_vulkan_trash_list_add (raw->trash_list,
gst_vulkan_trash_new_mini_object_unref (fence,
GST_MINI_OBJECT_CAST (cmd_buf)));
gst_vulkan_fence_unref (fence);
}
gst_vulkan_trash_list_gc (raw->trash_list);

View file

@ -1285,6 +1285,7 @@ reacquire:
gst_vulkan_command_buffer_unlock (cmd_buf);
cmd_buf = NULL;
gst_vulkan_fence_unref (fence);
fence = NULL;
}