kmsdrm: Fix leaking SDL_VideoDevice*
This commit is contained in:
1 parent
9dbe5a9686
commit
fca91451ba
1 file changed
+2
@@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device)
|
|||||||
SDL_free(device->driverdata);
|
SDL_free(device->driverdata);
|
||||||
device->driverdata = NULL;
|
device->driverdata = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_free(device);
|
||||||
SDL_KMSDRM_UnloadSymbols();
|
SDL_KMSDRM_UnloadSymbols();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user