mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
vkimagememory: free the managing struct on _free
fixes a memory leak
This commit is contained in:
parent
68b1e18123
commit
b5dce08d8f
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ _vk_image_mem_free (GstAllocator * allocator, GstMemory * memory)
|
|||
mem->notify (mem->user_data);
|
||||
|
||||
gst_object_unref (mem->device);
|
||||
|
||||
g_free (mem);
|
||||
}
|
||||
|
||||
static VkAccessFlags
|
||||
|
|
Loading…
Reference in a new issue