[c-host] nvfbc: free event on deinit
This commit is contained in:
1 parent
b5d91ccc21
commit
7de030bb69
2 files changed
+8
-1
No files matched your search
@@ -213,6 +213,13 @@ static void nvfbc_stop()
|
||||
static bool nvfbc_deinit()
|
||||
{
|
||||
mouseHook_remove();
|
||||
|
||||
if (this->cursorEvents[0])
|
||||
{
|
||||
lgFreeEvent(this->cursorEvents[0]);
|
||||
this->cursorEvents[0] = NULL;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user