[BusyBox-cvs] busybox/fileutils ls.c,1.93,1.94

Aaron Lehmann aaronl at busybox.net
Thu Nov 28 11:27:58 UTC 2002


Update of /var/cvs/busybox/fileutils
In directory winder:/tmp/cvs-serv23182/fileutils

Modified Files:
	ls.c 
Log Message:
Change if(x)free(x); to free(x);


Index: ls.c
===================================================================
RCS file: /var/cvs/busybox/fileutils/ls.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- ls.c	28 Nov 2002 08:37:46 -0000	1.93
+++ ls.c	28 Nov 2002 11:27:24 -0000	1.94
@@ -360,8 +360,7 @@
 
 	cur = dnp[0];
 	while (cur != NULL) {
-		if (cur->fullname != NULL)
-			free(cur->fullname);	/* free the filename */
+		free(cur->fullname);	/* free the filename */
 		next = cur->next;
 		free(cur);		/* free the dnode */
 		cur = next;




More information about the busybox-cvs mailing list