diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-04 18:08:23 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-07 16:55:19 +0200 |
commit | 62bbbedf7393d993bd3d8730d49003fae5aa5a82 (patch) | |
tree | 23241abe7e8d2e739ae59cf0dc9097e2760023d0 /src/libsystemd-network/sd-radv.c | |
parent | 2c448c8a174a4dc299c68941f742365d8fb773f0 (diff) | |
download | systemd-62bbbedf7393d993bd3d8730d49003fae5aa5a82.tar.gz systemd-62bbbedf7393d993bd3d8730d49003fae5aa5a82.tar.bz2 systemd-62bbbedf7393d993bd3d8730d49003fae5aa5a82.zip |
sd-radv: fix memleak
Fixes one memleak found in #12452.
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 08433adb25..185b55e1c5 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -598,6 +598,7 @@ _public_ sd_radv_prefix *sd_radv_remove_prefix(sd_radv *ra, LIST_REMOVE(prefix, ra->prefixes, cur); ra->n_prefixes--; + sd_radv_prefix_unref(cur); break; } |