vkimagememory: free the managing struct on _free
fixes a memory leak
This commit is contained in:
parent
68b1e18123
commit
b5dce08d8f
@ -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…
x
Reference in New Issue
Block a user