[FFmpeg-cvslog] avutil/sha-test: fix memleak
James Almer
git at videolan.org
Fri May 13 21:56:55 CEST 2016
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri May 13 16:53:26 2016 -0300| [7ee0e0ca1d5112041b5416cb7629fd97db1ea90a] | committer: James Almer
avutil/sha-test: fix memleak
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ee0e0ca1d5112041b5416cb7629fd97db1ea90a
---
libavutil/sha-test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/sha-test.c b/libavutil/sha-test.c
index 7354747..7af2c04 100644
--- a/libavutil/sha-test.c
+++ b/libavutil/sha-test.c
@@ -18,6 +18,7 @@
#include <stdio.h>
+#include "mem.h"
#include "sha.h"
int main(void)
@@ -68,6 +69,7 @@ int main(void)
break;
}
}
+ av_free(ctx);
return 0;
}
More information about the ffmpeg-cvslog
mailing list