summaryrefslogtreecommitdiff
path: root/libavutil/aes-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/aes-test.c')
-rw-r--r--libavutil/aes-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/aes-test.c b/libavutil/aes-test.c
index 339aa5a6e4..137df3060e 100644
--- a/libavutil/aes-test.c
+++ b/libavutil/aes-test.c
@@ -22,6 +22,7 @@
#include "aes.h"
#include "lfg.h"
#include "log.h"
+#include "mem.h"
int main(int argc, char **argv)
{
@@ -64,6 +65,7 @@ int main(int argc, char **argv)
}
}
}
+ av_free(b);
if (argc > 1 && !strcmp(argv[1], "-t")) {
struct AVAES *ae, *ad;
@@ -108,6 +110,8 @@ int main(int argc, char **argv)
}
}
}
+ av_free(ae);
+ av_free(ad);
}
return err;
}