Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-11-13 16:47:12 +0300
committerLynne <dev@lynne.ee>2021-11-13 16:47:12 +0300
commitf388791ff99938396d622886e8ff760e0f398028 (patch)
tree8906c3f3180f7b6ec9ab0f2a7d42b364db194a3e /libavutil
parent9dc544cdb461789f0d950c384464fcc893cd804c (diff)
hwcontext_vulkan: fix small memory leak when unmapping
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext_vulkan.c1
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 {