summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/afl_toxsave.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/afl_toxsave.c b/testing/afl_toxsave.c
index ddfa569f..9f93074b 100644
--- a/testing/afl_toxsave.c
+++ b/testing/afl_toxsave.c
@@ -1,5 +1,5 @@
1#include <malloc.h>
2#include <stdio.h> 1#include <stdio.h>
2#include <stdlib.h>
3 3
4#include "../toxcore/tox.h" 4#include "../toxcore/tox.h"
5 5
@@ -41,6 +41,7 @@ int main(int argc, char **argv)
41 41
42 Tox_Err_New error_new; 42 Tox_Err_New error_new;
43 Tox *tox = tox_new(tox_options, &error_new); 43 Tox *tox = tox_new(tox_options, &error_new);
44 tox_options_free(tox_options);
44 45
45 if (!tox || error_new != TOX_ERR_NEW_OK) { 46 if (!tox || error_new != TOX_ERR_NEW_OK) {
46 free(buffer); 47 free(buffer);