mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
free hard-restart timer more safely
This commit is contained in:
parent
28d9c769cd
commit
5134d2b198
@ -1105,7 +1105,10 @@ _http_serv_restart_cb(uv_timer_t* tim_u)
|
||||
|
||||
_http_serv_start_all();
|
||||
|
||||
free(tim_u);
|
||||
if ( 0 != u3_Host.fig_u.tim_u) {
|
||||
free(u3_Host.fig_u.tim_u);
|
||||
u3_Host.fig_u.tim_u = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user