diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-01-31 11:54:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-01-31 11:54:25 +0000 |
commit | 438a95e2ebf7c0539074dd1afb73624254d563f7 (patch) | |
tree | 7c92232387e299509950b89821c00171f8946fa4 /usr.sbin/pkg_add/OpenBSD/UpdateSet.pm | |
parent | 8ed4baf9938b6d3f612fe2bbdc0fdedb18545645 (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/pkg_add/OpenBSD/UpdateSet.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/UpdateSet.pm | 3 |
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; } |