diff options
author | Lynne <dev@lynne.ee> | 2021-11-13 16:47:12 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-11-13 16:47:12 +0300 |
commit | f388791ff99938396d622886e8ff760e0f398028 (patch) | |
tree | 8906c3f3180f7b6ec9ab0f2a7d42b364db194a3e /libavutil | |
parent | 9dc544cdb461789f0d950c384464fcc893cd804c (diff) |
hwcontext_vulkan: fix small memory leak when unmapping
Diffstat (limited to 'libavutil')
-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 { |