diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 5ba4d9e..1cd4608 100644 --- a/src/config.c +++ b/src/config.c @@ -259,6 +259,9 @@ static void close_interface(struct interface *iface) dhcpv4_setup_interface(iface, false); #endif + /* make sure timer is not on the timeouts list before freeing */ + uloop_timeout_cancel(&iface->timer_rs); + clean_interface(iface); free(iface->addr4); free(iface->addr6); |