Commit d8ef8b96 authored by James Almer's avatar James Almer

avutil/sha512-test: fix memleak

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 7ee0e0ca
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <stdio.h> #include <stdio.h>
#include "mem.h"
#include "sha512.h" #include "sha512.h"
int main(void) int main(void)
...@@ -83,6 +84,7 @@ int main(void) ...@@ -83,6 +84,7 @@ int main(void)
break; break;
} }
} }
av_free(ctx);
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment