Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/envstat Since we're no longer making a copy of the ...
details: https://anonhg.NetBSD.org/src/rev/69f2ea4edf48
branches: trunk
changeset: 783298:69f2ea4edf48
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Dec 14 05:29:28 2012 +0000
description:
Since we're no longer making a copy of the option args, we shouldn't
attempt to free it.
diffstat:
usr.sbin/envstat/envstat.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d5835e57592e -r 69f2ea4edf48 usr.sbin/envstat/envstat.c
--- a/usr.sbin/envstat/envstat.c Fri Dec 14 03:31:10 2012 +0000
+++ b/usr.sbin/envstat/envstat.c Fri Dec 14 05:29:28 2012 +0000
@@ -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 @@
syslog(LOG_ERR, "fopen failed: %s", strerror(errno));
errx(EXIT_FAILURE, "%s", strerror(errno));
}
- free(configfile);
rval = send_dictionary(cf);
(void)fclose(cf);
Home |
Main Index |
Thread Index |
Old Index