From d8ef8b960adde5263d71e6463aabdc2a4db642a4 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 13 May 2016 16:53:44 -0300 Subject: [PATCH] avutil/sha512-test: fix memleak Signed-off-by: James Almer --- libavutil/sha512-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/sha512-test.c b/libavutil/sha512-test.c index 4b7efdcb73..32ff50862e 100644 --- a/libavutil/sha512-test.c +++ b/libavutil/sha512-test.c @@ -23,6 +23,7 @@ #include +#include "mem.h" #include "sha512.h" int main(void) @@ -83,6 +84,7 @@ int main(void) break; } } + av_free(ctx); return 0; }