From 3be061efaab0261b7218c32cbf4e28c404c63341 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Thu, 11 Mar 2021 09:11:12 +0100 Subject: [PATCH] Remove bogus allocation of solv->choicerules_info It was leaking memory. --- src/rules.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rules.c b/src/rules.c index b3609bb0..b1b5f09c 100644 --- a/src/rules.c +++ b/src/rules.c @@ -3339,7 +3339,6 @@ solver_addchoicerules(Solver *solv) return; } now = solv_timems(0); - solv->choicerules_info = solv_calloc(solv->pkgrules_end, sizeof(Id)); queue_init(&q); queue_init(&qi); queue_init(&qcheck); -- 2.47.2