diff options
author | Susant Sahani <ssahani@gmail.com> | 2023-08-28 12:21:22 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-08-28 15:07:16 +0200 |
commit | 1a6b1214af3ea8c19f4e3ef8a995d4647f5576af (patch) | |
tree | da1cd71139c18868ba340e88c9ca114e917cee99 /src/libsystemd-network/sd-radv.c | |
parent | meson: restore specifications of dependency on version_h (diff) | |
download | systemd-1a6b1214af3ea8c19f4e3ef8a995d4647f5576af.tar.xz systemd-1a6b1214af3ea8c19f4e3ef8a995d4647f5576af.zip |
sd-radv: fix memory leak
Diffstat (limited to 'src/libsystemd-network/sd-radv.c')
-rw-r--r-- | src/libsystemd-network/sd-radv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index 983c01b202..cb7bc07f5a 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -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); |