Skip to content

Commit

Permalink
sd-radv: fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
ssahani authored and bluca committed Aug 28, 2023
1 parent 56a0b90 commit 1a6b121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsystemd-network/sd-radv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a6b121

Please sign in to comment.