[c-host] nvfbc: free event on deinit

This commit is contained in:
Geoffrey McRae committed 2020-01-12 18:09:11 +11:00
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;
}