mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
hwcontext_vulkan: fix small memory leak when unmapping
This commit is contained in:
parent
9dc544cdb4
commit
f388791ff9
@ -2235,6 +2235,7 @@ static void vulkan_unmap_from(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap)
|
||||
}
|
||||
|
||||
av_freep(&map->frame);
|
||||
av_free(map);
|
||||
}
|
||||
|
||||
static const struct {
|
||||
|
Loading…
Reference in New Issue
Block a user