[c-host] nvfbc: free event on deinit

This commit is contained in:
Geoffrey McRae 2020-01-12 18:09:11 +11:00
parent b5d91ccc21
commit 7de030bb69
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
B1-81-ge554635e48+1
B1-83-gb5d91ccc21+1

View File

@ -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;
}