summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2010-03-09 08:58:22 +0000
committerroot <root>2010-03-09 08:58:22 +0000
commitf8a5a88f5cfab01064b05c5c8a0d5d0e63e24ec5 (patch)
tree35881a97df793dcb7c113998d5ef9dc7c00e9cbf /ev.c
parentc85fe89c5a1a12d1cefe32fe03246a3a057b8151 (diff)
ev_avoid_stdio
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c1
1 files changed, 1 insertions, 0 deletions
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);