about summary refs log tree commit diff
path: root/src/afl-fuzz-python.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-11-13 00:44:08 +0100
committerhexcoder- <heiko@hexco.de>2020-11-13 00:44:08 +0100
commit54a312a5fe7d83fcee8b420868bc918622e9b3a6 (patch)
treea3d2926e2152394db28969be99d021aaa4c67e81 /src/afl-fuzz-python.c
parent4a4c14c9a926a75a52d3775098211cf3a89e0a7d (diff)
downloadafl++-54a312a5fe7d83fcee8b420868bc918622e9b3a6.tar.gz
more small fixes
Diffstat (limited to 'src/afl-fuzz-python.c')
-rw-r--r--src/afl-fuzz-python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c
index fe16bc46..596b733e 100644
--- a/src/afl-fuzz-python.c
+++ b/src/afl-fuzz-python.c
@@ -214,6 +214,7 @@ static py_mutator_t *init_py_module(afl_state_t *afl, u8 *module_name) {
 
     PyErr_Print();
     fprintf(stderr, "Failed to load \"%s\"\n", module_name);
+    free(py);
     return NULL;
 
   }