From 18835bb09dc296d1fd91fd05add895f1052f0bbb Mon Sep 17 00:00:00 2001 From: Otavio Pontes Date: Thu, 14 Jun 2018 21:40:53 +0000 Subject: [PATCH] bundle: Fix memory leak - data from list was not freed --- src/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle.c b/src/bundle.c index ab6f2ef7..9e10a95d 100644 --- a/src/bundle.c +++ b/src/bundle.c @@ -533,7 +533,7 @@ int remove_bundles(char **bundles) fprintf(stderr, "%s", bundle); } - list_free_list(reqd_by); + list_free_list_and_data(reqd_by, free); ret = EBUNDLE_REMOVE; bad++; goto out_free_mom;