summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-05-13 16:53:44 -0300
committerJames Almer <jamrial@gmail.com>2016-05-13 16:53:44 -0300
commitd8ef8b960adde5263d71e6463aabdc2a4db642a4 (patch)
tree16c5ab86a22b2770636f54a2643dd8d1a6f8a761 /libavutil
parent7ee0e0ca1d5112041b5416cb7629fd97db1ea90a (diff)
downloadffmpeg-streaming-d8ef8b960adde5263d71e6463aabdc2a4db642a4.zip
ffmpeg-streaming-d8ef8b960adde5263d71e6463aabdc2a4db642a4.tar.gz
avutil/sha512-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/sha512-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/sha512-test.c b/libavutil/sha512-test.c
index 4b7efdc..32ff508 100644
--- a/libavutil/sha512-test.c
+++ b/libavutil/sha512-test.c
@@ -23,6 +23,7 @@
#include <stdio.h>
+#include "mem.h"
#include "sha512.h"
int main(void)
@@ -83,6 +84,7 @@ int main(void)
break;
}
}
+ av_free(ctx);
return 0;
}
OpenPOWER on IntegriCloud