Commit 64dbfcc4 authored by James Almer's avatar James Almer

avutil/ripemd-test: fix memleak

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent f92d2f32
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <stdio.h> #include <stdio.h>
#include "mem.h"
#include "ripemd.h" #include "ripemd.h"
int main(void) int main(void)
...@@ -73,6 +74,7 @@ int main(void) ...@@ -73,6 +74,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