projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f478c0
)
plug weakrulemap memory map if the solver gets re-run
author
Michael Schroeder
<mls@suse.de>
Tue, 29 Oct 2013 15:05:24 +0000
(16:05 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 29 Oct 2013 15:05:24 +0000
(16:05 +0100)
src/solver.c
patch
|
blob
|
history
diff --git
a/src/solver.c
b/src/solver.c
index
3d23b5b
..
0396f4a
100644
(file)
--- a/
src/solver.c
+++ b/
src/solver.c
@@
-3095,6
+3095,11
@@
solver_solve(Solver *solv, Queue *job)
map_free(&solv->cleandepsmap);
map_init(&solv->cleandepsmap, 0);
}
+ if (solv->weakrulemap.size)
+ {
+ map_free(&solv->weakrulemap);
+ map_init(&solv->weakrulemap, 0);
+ }
queue_empty(&solv->weakruleq);
solv->watches = solv_free(solv->watches);