diff util.c @ 744:fc68992cf18d

Merge windows branch with latest changes
author Michael Pavone <pavone@retrodev.com>
date Thu, 28 May 2015 21:19:55 -0700
parents 2e1b3b258523 6b248602ab84
children 206c449eaa81
line wrap: on
line diff
--- a/util.c	Thu May 28 21:09:33 2015 -0700
+++ b/util.c	Thu May 28 21:19:55 2015 -0700
@@ -127,7 +127,7 @@
 		if (linksize == -1) {
 			perror("readlink");
 			free(linktext);
-			linktext = NULL;
+			return NULL;
 		}
 	} while ((linksize+1) > cursize);
 	linktext[linksize] = 0;