mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-01 15:53:32 +00:00
[common] linux/time: fix memory leak
This commit is contained in:
parent
f635077a2c
commit
9c49dc6efd
1 changed files with 2 additions and 0 deletions
|
@ -148,5 +148,7 @@ void lgTimerDestroy(LGTimer * timer)
|
|||
return;
|
||||
|
||||
ll_removeData(l_ts.timers, timer);
|
||||
free(timer);
|
||||
|
||||
destroyTimerThread();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue