summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-03-06 12:06:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-03-06 12:06:38 +0000
commit521c0ce1324fe01b78d315656458af3a171c86c7 (patch)
tree1b204716a66b7f3aba1504f34b1ab9d2ea33c521 /usr.sbin
parentd8dabc01c26186478c77d5c0ccd03ed826a2b0ec (diff)
zap object pid when done with it.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocation.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
index 97920b98bfd..54b794143d0 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageLocation.pm,v 1.1 2006/03/04 13:13:05 espie Exp $
+# $OpenBSD: PackageLocation.pm,v 1.2 2006/03/06 12:06:37 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -228,6 +228,7 @@ sub deref
{
my $self = shift;
$self->{fh} = undef;
+ $self->{pid} = undef;
$self->{_archive} = undef;
}