summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/add/main.c')
-rw-r--r--usr.sbin/pkg_install/add/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/main.c b/usr.sbin/pkg_install/add/main.c
index 451d2bfc78c..dd4997d1e5d 100644
--- a/usr.sbin/pkg_install/add/main.c
+++ b/usr.sbin/pkg_install/add/main.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: main.c,v 1.17 2003/07/04 17:31:19 avsm Exp $ */
+/* $OpenBSD: main.c,v 1.18 2003/08/06 20:46:36 millert Exp $ */
#ifndef lint
-static const char rcsid[] = "$OpenBSD: main.c,v 1.17 2003/07/04 17:31:19 avsm Exp $";
+static const char rcsid[] = "$OpenBSD: main.c,v 1.18 2003/08/06 20:46:36 millert Exp $";
#endif
/*
@@ -164,6 +164,7 @@ main(int argc, char **argv)
fprintf(stderr, "failing path was %s\n", pkgs[ch]);
exit(1);
}
+ free(s);
} else {
/* look for the file(pattern) in the expected places */
if (!(cp = fileFindByPath(NULL, *argv))) {