1
0
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:
Lynne 2021-11-13 14:47:12 +01:00
parent 9dc544cdb4
commit f388791ff9
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -2235,6 +2235,7 @@ static void vulkan_unmap_from(AVHWFramesContext *hwfc, HWMapDescriptor *hwmap)
}
av_freep(&map->frame);
av_free(map);
}
static const struct {