libubus: add missing uloop_fd_delete call in ubus_shutdown
authorFelix Fietkau <nbd@nbd.name>
Mon, 5 Jun 2023 20:05:55 +0000 (22:05 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 5 Jun 2023 20:05:56 +0000 (22:05 +0200)
commitf787c97b34894a38b15599886cacbca01271684f
tree5641a8e915f5228b13f3a1e85e45145212dc24b4
parent9913aa61de739e3efe067a2d186021c20bcd65e2
libubus: add missing uloop_fd_delete call in ubus_shutdown

Leaving the fd added could cause segfaults if ctx is freed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
libubus.c