diff options
author | Lynne <dev@lynne.ee> | 2021-11-13 14:47:12 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-11-13 14:47:12 +0100 |
commit | f388791ff99938396d622886e8ff760e0f398028 (patch) | |
tree | 8906c3f3180f7b6ec9ab0f2a7d42b364db194a3e /libavutil/hwcontext_vulkan.c | |
parent | 9dc544cdb461789f0d950c384464fcc893cd804c (diff) | |
download | ffmpeg-f388791ff99938396d622886e8ff760e0f398028.tar.gz |
hwcontext_vulkan: fix small memory leak when unmapping
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r-- | libavutil/hwcontext_vulkan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index e54c10156e..7c70fac30f 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -2235,6 +2235,7 @@ static void vulkan_unmap_from(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) } av_freep(&map->frame); + av_free(map); } static const struct { |