Module Name:    src
Committed By:   pgoyette
Date:           Fri Dec 14 05:29:28 UTC 2012

Modified Files:
        src/usr.sbin/envstat: envstat.c

Log Message:
Since we're no longer making a copy of the option args, we shouldn't
attempt to free it.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/envstat/envstat.c
diff -u src/usr.sbin/envstat/envstat.c:1.93 src/usr.sbin/envstat/envstat.c:1.94
--- src/usr.sbin/envstat/envstat.c:1.93	Thu Dec 13 20:06:42 2012
+++ src/usr.sbin/envstat/envstat.c	Fri Dec 14 05:29:28 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: envstat.c,v 1.93 2012/12/13 20:06:42 christos Exp $ */
+/* $NetBSD: envstat.c,v 1.94 2012/12/14 05:29:28 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -27,7 +27,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: envstat.c,v 1.93 2012/12/13 20:06:42 christos Exp $");
+__RCSID("$NetBSD: envstat.c,v 1.94 2012/12/14 05:29:28 pgoyette Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -255,7 +255,6 @@ int main(int argc, char **argv)
 			syslog(LOG_ERR, "fopen failed: %s", strerror(errno));
 			errx(EXIT_FAILURE, "%s", strerror(errno));
 		}
-		free(configfile);
 
 		rval = send_dictionary(cf);
 		(void)fclose(cf);

Reply via email to