mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-19 13:27:00 +00: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