bundle: Fix memory leak - data from list was not freed

This commit is contained in:
Otavio Pontes
2018-06-14 15:01:23 -07:00
committed by Matthew Johnson
parent 6d0523d9e5
commit 18835bb09d
+1 -1
View File
@@ -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;