diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-27 02:10:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-27 02:10:32 +0200 |
commit | 5976e8d7ded314e56a2bb80406ea7eee9354e80c (patch) | |
tree | dcd9fa0d9d1dd6f28533f055fd68078afaca41f7 /platform/x11/os_x11.cpp | |
parent | e8345c824e361a3e6ca0e5dca384ad1856127bb7 (diff) | |
parent | 1577f4165374fc7c6d7f3031e463f0aab6e96faa (diff) |
Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
Diffstat (limited to 'platform/x11/os_x11.cpp')
-rw-r--r-- | platform/x11/os_x11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index dbc3914410..008b3ab615 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -538,6 +538,8 @@ void OS_X11::finalize() { physics_2d_server->finish(); memdelete(physics_2d_server); + memdelete(power_manager); + if (xrandr_handle) dlclose(xrandr_handle); |