mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +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