summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-05-13 16:53:18 -0300
committerJames Almer <jamrial@gmail.com>2016-05-13 16:53:18 -0300
commit64dbfcc415c5668f96de5845618b1c09d07db9a4 (patch)
tree1078cb9617127896107385c0fe5a9f8fd25e4234
parentf92d2f329254f4a1b7a8a50faff7f7292023291a (diff)
downloadffmpeg-64dbfcc415c5668f96de5845618b1c09d07db9a4.tar.gz
avutil/ripemd-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavutil/ripemd-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/ripemd-test.c b/libavutil/ripemd-test.c
index 9efa93c4a7..2a60bbe613 100644
--- a/libavutil/ripemd-test.c
+++ b/libavutil/ripemd-test.c
@@ -21,6 +21,7 @@
#include <stdio.h>
+#include "mem.h"
#include "ripemd.h"
int main(void)
@@ -73,6 +74,7 @@ int main(void)
break;
}
}
+ av_free(ctx);
return 0;
}