avutil/ripemd-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2016-05-13 16:53:18 -03:00
parent f92d2f3292
commit 64dbfcc415
1 changed files with 2 additions and 0 deletions

View File

@ -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)
break; break;
} }
} }
av_free(ctx);
return 0; return 0;
} }