mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 13:02:29 +00:00
vulkan: add a couple of missing fence unrefs
This commit is contained in:
parent
a3454edeb2
commit
4f3051fd2d
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -1285,6 +1285,7 @@ reacquire:
|
|||
|
||||
gst_vulkan_command_buffer_unlock (cmd_buf);
|
||||
cmd_buf = NULL;
|
||||
gst_vulkan_fence_unref (fence);
|
||||
fence = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue