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:
ad7116d
)
plug mem leak in selection_make_matchdeps
author
Michael Schroeder
<mls@suse.de>
Fri, 20 Sep 2013 16:33:01 +0000
(18:33 +0200)
committer
Michael Schroeder
<mls@suse.de>
Fri, 20 Sep 2013 16:33:01 +0000
(18:33 +0200)
src/selection.c
patch
|
blob
|
history
diff --git
a/src/selection.c
b/src/selection.c
index
a2dd31b
..
fb1baf6
100644
(file)
--- a/
src/selection.c
+++ b/
src/selection.c
@@
-940,6
+940,7
@@
selection_make_matchdeps(Pool *pool, Queue *selection, const char *name, int fla
queue_push2(selection, SOLVER_SOLVABLE | SOLVER_NOAUTOSET, p);
}
queue_free(&q);
+ solv_free(rname);
if (!selection->count)
return 0;
if ((flags & SELECTION_FLAT) != 0)