summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-15 19:12:38 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-15 19:12:38 +0000
commitf0d0643571ed00022dd02589e599be9cf4bcbe31 (patch)
treefb3a26348086e6976a7a20ef2fb773270ed6a4b6
parent56094f2261397ae8281bd0a813f7c7d90fc8c9b2 (diff)
downloadmgatools-f0d0643571ed00022dd02589e599be9cf4bcbe31.tar
mgatools-f0d0643571ed00022dd02589e599be9cf4bcbe31.tar.gz
mgatools-f0d0643571ed00022dd02589e599be9cf4bcbe31.tar.bz2
mgatools-f0d0643571ed00022dd02589e599be9cf4bcbe31.tar.xz
mgatools-f0d0643571ed00022dd02589e599be9cf4bcbe31.zip
(cleanrpmsrate) free URPM object once unused
-rw-r--r--pm/MGATools/rpmsrate.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm
index 31ffa84..d2d43dd 100644
--- a/pm/MGATools/rpmsrate.pm
+++ b/pm/MGATools/rpmsrate.pm
@@ -139,6 +139,7 @@ sub cleanrpmsrate {
}
}
}
+ undef $urpm;
my (%done, @flags, @tree_rate, $prev_level);
foreach (@$rpmsrate) {