]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/sd-radv.c
sd-radv: voidify sd_radv_remove_prefix()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 16 Mar 2022 12:12:37 +0000 (21:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Mar 2022 05:34:58 +0000 (14:34 +0900)
commit95931532aa0f9f951454a45e078a49dca4341dfc
treec02faf8f5f899e7a5f8937303e6c79a60f322b3f
parentda29de23ef200b17bb780e5a0efb6cff28c72287
sd-radv: voidify sd_radv_remove_prefix()

If the prefix is only referenced by sd_radv, then the returned pointer
is already freed.

networkd does not uses the returned value. Let's voidify the function.
src/libsystemd-network/sd-radv.c
src/network/networkd-dhcp-prefix-delegation.c
src/systemd/sd-radv.h