[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

+1 -1
View File
@@ -1 +1 @@
B1-81-ge554635e48+1
B1-83-gb5d91ccc21+1
@@ -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;
}