vulkan: add a couple of missing fence unrefs
This commit is contained in:
parent
a3454edeb2
commit
4f3051fd2d
@ -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…
x
Reference in New Issue
Block a user