mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 14:11:52 +00:00
bundle: Fix memory leak - data from list was not freed
This commit is contained in:
committed by
Matthew Johnson
parent
6d0523d9e5
commit
18835bb09d
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user