Commit 7ee0e0ca authored by James Almer's avatar James Almer

avutil/sha-test: fix memleak

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 64dbfcc4
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <stdio.h> #include <stdio.h>
#include "mem.h"
#include "sha.h" #include "sha.h"
int main(void) int main(void)
...@@ -68,6 +69,7 @@ int main(void) ...@@ -68,6 +69,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