mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[common] linux/time: fix memory leak
This commit is contained in:
parent
f635077a2c
commit
9c49dc6efd
@ -148,5 +148,7 @@ void lgTimerDestroy(LGTimer * timer)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
ll_removeData(l_ts.timers, timer);
|
ll_removeData(l_ts.timers, timer);
|
||||||
|
free(timer);
|
||||||
|
|
||||||
destroyTimerThread();
|
destroyTimerThread();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user