startup.c: free timer

Small memleak. The timer is not called used again since ev_timer_init is
called with repeat = 0.
This commit is contained in:
Orestis Floros 2018-03-25 20:04:31 +03:00
parent b849fe3e44
commit ee1f551195
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ static void startup_timeout(EV_P_ ev_timer *w, int revents) {
if (!sequence) {
DLOG("Sequence already deleted, nevermind.\n");
free(w);
return;
}