python mutator: fix nullptr for python mutator data
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index a265c1a..fcbc09e 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -566,9 +566,6 @@
 
   /* Custom mutators */
   struct custom_mutator *mutator;
-#ifdef USE_PYTHON
-  struct custom_mutator *py_mutator;
-#endif
 
   /* cmplog forkserver ids */
   s32 cmplog_fsrv_ctl_fd, cmplog_fsrv_st_fd;
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c
index 01503d2..12c3a09 100644
--- a/src/afl-fuzz-python.c
+++ b/src/afl-fuzz-python.c
@@ -303,6 +303,7 @@
 
   py_mutator_t *py_mutator;
   py_mutator = init_py_module(afl, module_name);
+  afl->mutator->data = py_mutator;
   if (!py_mutator) { FATAL("Failed to load python mutator."); }
 
   PyObject **py_functions = py_mutator->py_functions;