Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
kmsdrm: Fix leaking SDL_VideoDevice*
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+2
−0
src/video/kmsdrm/SDL_kmsdrmvideo.c
|
@@ -74,6 +74,8 @@ KMSDRM_Destroy(SDL_VideoDevice * device) |
|
|
SDL_free(device->driverdata); |
|
|
device->driverdata = NULL; |
|
|
} |
|
|
|
|
|
SDL_free(device); |
|
|
SDL_KMSDRM_UnloadSymbols(); |
|
|
} |
|
|
|
|
|