summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-27 22:24:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-27 22:24:49 +0000
commit9161b8526f0eb815903c6773bc5403b1bd2650c7 (patch)
treece58c3f180c9245bc58588801e3fbe07cc95e8b6 /usr.sbin
parentf0d072a469ddef1fecd9ccd5b696449d07e12243 (diff)
solver is no longer needed at that point, so kill it. this shaves a bit of
memory.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/UpdateSet.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
index 5464010c88d..a778ed09ad7 100644
--- a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
+++ b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: UpdateSet.pm,v 1.41 2009/12/27 12:39:53 espie Exp $
+# $OpenBSD: UpdateSet.pm,v 1.42 2009/12/27 22:24:48 espie Exp $
#
# Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org>
#
@@ -76,6 +76,7 @@ sub cleanup
$h->cleanup($error);
}
$self->{error} //= $error;
+ delete $self->{solver};
$self->{finished} = 1;
}