From: Michael Schroeder Date: Fri, 20 Sep 2013 16:33:01 +0000 (+0200) Subject: plug mem leak in selection_make_matchdeps X-Git-Tag: BASE-SuSE-Code-13_1-Branch~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b973cae5b83ea0313ef6cb106357e5ebbafd913;p=thirdparty%2Flibsolv.git plug mem leak in selection_make_matchdeps --- diff --git a/src/selection.c b/src/selection.c index a2dd31b6..fb1baf6a 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)