diff options
| author | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-28 07:51:30 +0000 |
|---|---|---|
| committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-09-28 07:51:30 +0000 |
| commit | ba670ce0239ee18cc7bc30bd3119f0e82234a71a (patch) | |
| tree | f864a7f6a0ad8eb6c98c82aec4ef26f6d771057c /usr.sbin/pkg_install | |
| parent | e4b8a2fc5a59c09eb58fd9ec160ab390fe1951ac (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
| -rw-r--r-- | usr.sbin/pkg_install/lib/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/lib/exec.c b/usr.sbin/pkg_install/lib/exec.c index c95ac47fa9dc..0804501182b6 100644 --- a/usr.sbin/pkg_install/lib/exec.c +++ b/usr.sbin/pkg_install/lib/exec.c @@ -93,6 +93,7 @@ vpipe(const char *fmt, ...) fp = popen(cmd, "r"); if (fp == NULL) { warnx("popen() failed"); + va_end(args); return NULL; } get_string(rp, MAXPATHLEN, fp); |
