]> git.tdb.fi Git - libs/gui.git/commitdiff
Fix a memory leak
authorMikko Rasa <tdb@tdb.fi>
Fri, 7 Oct 2016 22:27:56 +0000 (01:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 7 Oct 2016 22:27:56 +0000 (01:27 +0300)
source/graphics/windows/display.cpp

index aaaa985c3cc21cb740d5e5bcd693472f57e9f4e9..2364f6d9c05422a3413550fceef94ae5a63389f7 100644 (file)
@@ -60,6 +60,7 @@ Display::Display(const string &):
 
 Display::~Display()
 {
+       delete priv;
 }
 
 void Display::set_mode(const VideoMode &requested_mode, bool)