summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index b5b0c5f..d62dd2b 100644
--- a/ev.c
+++ b/ev.c
@@ -1738,9 +1738,11 @@ ev_loop_destroy (EV_P)
{
int i;
+#if EV_MULTIPLICITY
/* mimic free (0) */
if (!EV_A)
return;
+#endif
#if EV_CLEANUP_ENABLE
/* queue cleanup watchers (and execute them) */