mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 00:28:20 +00:00
[c-host] nvfbc: free event on deinit
This commit is contained in:
parent
b5d91ccc21
commit
7de030bb69
@ -213,6 +213,13 @@ static void nvfbc_stop()
|
|||||||
static bool nvfbc_deinit()
|
static bool nvfbc_deinit()
|
||||||
{
|
{
|
||||||
mouseHook_remove();
|
mouseHook_remove();
|
||||||
|
|
||||||
|
if (this->cursorEvents[0])
|
||||||
|
{
|
||||||
|
lgFreeEvent(this->cursorEvents[0]);
|
||||||
|
this->cursorEvents[0] = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user