[BusyBox-cvs] busybox/modutils insmod.c,1.91,1.92

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


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

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


Index: insmod.c
===================================================================
RCS file: /var/cvs/busybox/modutils/insmod.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- insmod.c	10 Oct 2002 04:20:21 -0000	1.91
+++ insmod.c	28 Nov 2002 11:27:27 -0000	1.92
@@ -3589,8 +3589,7 @@
 				flag_export = 0;
 				break;
 			case 'o':			/* name the output module */
-				if(m_name)  /* Hmmm, duplicate "-o name". */
-					free(m_name);
+				free(m_name);
 				m_name = xstrdup(optarg);
 				break;
 			case 'L':			/* Stub warning */




More information about the busybox-cvs mailing list