diff options
| author | Wilson E. Alvarez | 2017-08-24 12:51:28 -0400 |
|---|---|---|
| committer | Wilson E. Alvarez | 2017-08-25 08:47:05 -0400 |
| commit | 1577f4165374fc7c6d7f3031e463f0aab6e96faa (patch) | |
| tree | 82bae3af4e17409446b8f11d69ee1bd0c61fcb36 /platform/x11/os_x11.cpp | |
| parent | 3ea0943f645e5fda0b1bb68415e9c92ed4cf97dd (diff) | |
| download | godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.gz godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.zst godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.zip | |
Fixed several memory leaks
Diffstat (limited to '')
| -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 dbc391441..008b3ab61 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); |
