network,ndisc: use ndisc_captive_portal_free() at one more place
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Jul 2023 21:18:36 +0000 (06:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 7 Jul 2023 00:18:25 +0000 (09:18 +0900)
commit75a9122678e0cf852b6e9161db9a32e557213537
tree35a17c707acbc12a77936b301f445db21cb77e7c
parent19731f4a7bef447acee876f9d4fa8e7f3882684a
network,ndisc: use ndisc_captive_portal_free() at one more place

Fixes another memleak introduced by 64de00c49fde341d09b817164fe8cc8f7da46268.
Fixes #28283.
src/network/networkd-ndisc.c