summaryrefslogtreecommitdiff
path: root/usr/src/cmd/pack/pack.c
diff options
context:
space:
mode:
authormarks <none@none>2006-03-14 11:35:05 -0800
committermarks <none@none>2006-03-14 11:35:05 -0800
commitf0a2d94fac0bda585fe02eb5f086dbbf15c986a7 (patch)
treeb8a6b4705f5ed11961056a9e97335f1fdafadf55 /usr/src/cmd/pack/pack.c
parent9df12a23948bd40cbe37ce88d84e272c3894e675 (diff)
downloadillumos-joyent-f0a2d94fac0bda585fe02eb5f086dbbf15c986a7.tar.gz
6395977 unpack dump core when run over NFSv4 over ZFS
Diffstat (limited to 'usr/src/cmd/pack/pack.c')
-rw-r--r--usr/src/cmd/pack/pack.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/cmd/pack/pack.c b/usr/src/cmd/pack/pack.c
index 9084f2dcf7..181e6a61db 100644
--- a/usr/src/cmd/pack/pack.c
+++ b/usr/src/cmd/pack/pack.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -536,8 +535,10 @@ main(int argc, char *argv[])
unlink(filename);
}
- if (aclp)
+ if (aclp) {
acl_free(aclp);
+ aclp = NULL;
+ }
closein: close(outfile);
close(infile);