summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 188970d..08d4c7a 100644
--- a/ev.c
+++ b/ev.c
@@ -1040,6 +1040,8 @@ loop_destroy (EV_P)
#endif
}
+ ev_free (anfds); anfdmax = 0;
+
/* have to use the microsoft-never-gets-it-right macro */
array_free (fdchange, EMPTY);
array_free (timer, EMPTY);
@@ -1048,6 +1050,7 @@ loop_destroy (EV_P)
#endif
array_free (prepare, EMPTY);
array_free (check, EMPTY);
+ array_free (fork, EMPTY);
backend = 0;
}