1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-03 17:47:28 +03:00

sd-radv: fix memory leak

This commit is contained in:
Susant Sahani 2023-08-28 15:51:22 +05:30 committed by Luca Boccassi
parent 56a0b9065e
commit 1a6b1214af

View File

@ -102,6 +102,7 @@ static sd_radv *radv_free(sd_radv *ra) {
LIST_CLEAR(prefix, ra->prefixes, sd_radv_prefix_unref);
LIST_CLEAR(prefix, ra->route_prefixes, sd_radv_route_prefix_unref);
LIST_CLEAR(prefix, ra->pref64_prefixes, sd_radv_pref64_prefix_unref);
free(ra->rdnss);
free(ra->dnssl);