From: Michael Schroeder Date: Fri, 20 Sep 2013 16:33:01 +0000 (+0200) Subject: plug mem leak in selection_make_matchdeps X-Git-Tag: upstream/0.4.0~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b973cae5b83ea0313ef6cb106357e5ebbafd913;p=platform%2Fupstream%2Flibsolv.git plug mem leak in selection_make_matchdeps --- diff --git a/src/selection.c b/src/selection.c index a2dd31b..fb1baf6 100644 --- 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)