From f8a5a88f5cfab01064b05c5c8a0d5d0e63e24ec5 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Mar 2010 08:58:22 +0000 Subject: ev_avoid_stdio --- ev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ev.c') diff --git a/ev.c b/ev.c index bf83e90..850314d 100644 --- a/ev.c +++ b/ev.c @@ -574,6 +574,7 @@ ev_realloc_emul (void *ptr, long size) * implement realloc (x, 0) (as required by both ansi c-98 and * the single unix specification, so work around them here. */ + if (size) return realloc (ptr, size); -- cgit v1.2.3