summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-12-15 23:14:38 +0000
committerroot <root>2007-12-15 23:14:38 +0000
commit31e9efe54cb349b93fa56445eec2d398320b5e92 (patch)
treeee7180518f90715677a41bfda4e7e9b26946c3da /ev.c
parentef0fb5651bf6799d3100082b97a677d329beb4b8 (diff)
fix memleak
Diffstat (limited to 'ev.c')
-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;
}