X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/4df34d3062cbd5c939ccc8d5577959c3d0954fbd..6fb30a67f78730c733f64429f327e360ea2acaf3:/ev.c?ds=sidebyside diff --git a/ev.c b/ev.c index 188970d..a111beb 100644 --- a/ev.c +++ b/ev.c @@ -1040,11 +1040,16 @@ 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); #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);