summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-01-31 11:54:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-01-31 11:54:25 +0000
commit438a95e2ebf7c0539074dd1afb73624254d563f7 (patch)
tree7c92232387e299509950b89821c00171f8946fa4 /usr.sbin
parent8ed4baf9938b6d3f612fe2bbdc0fdedb18545645 (diff)
no longer a need for the solver, which is fortunate as this creates
a cycle (in perl -current at least). found by careful usage of Devel::Leak::Object and going back in time to 2007...
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 3e09fc74866..88f3b2606f8 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.71 2014/01/30 12:38:51 espie Exp $
+# $OpenBSD: UpdateSet.pm,v 1.72 2014/01/31 11:54:24 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -109,6 +109,7 @@ sub cleanup
$self->{error} //= $error;
$self->{errorinfo} //= $errorinfo;
}
+ delete $self->{solver};
$self->mark_as_finished;
}