src/platform_unix.c
changeset 1354 3e80839670da
parent 1337 3b2e649c044c
child 1373 527ef3c6a2d6
--- a/src/platform_unix.c	Tue Aug 19 02:28:13 2014 -0400
+++ b/src/platform_unix.c	Tue Aug 19 10:55:56 2014 -0400
@@ -173,7 +173,7 @@
 
         binlen = strlen(bin);
         size = strlen(start) + binlen + 2;
-        if (size > alloc_size)
+        if (size >= alloc_size)
         {
             char *x = (char *) allocator.Realloc(exe, size);
             if (!x)