summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 08d4c7a..a111beb 100644
--- a/ev.c
+++ b/ev.c
@@ -1048,9 +1048,11 @@ loop_destroy (EV_P)
#if EV_PERIODIC_ENABLE
array_free (periodic, EMPTY);
#endif
+#if EV_FORK_ENABLE
+ array_free (fork, EMPTY);
+#endif
array_free (prepare, EMPTY);
array_free (check, EMPTY);
- array_free (fork, EMPTY);
backend = 0;
}