summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
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);