From: Mikko Rasa Date: Fri, 7 Oct 2016 22:27:56 +0000 (+0300) Subject: Fix a memory leak X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=207eec91afc6b538753ddc44905ac9ddbc907ac0;p=libs%2Fgui.git Fix a memory leak --- diff --git a/source/graphics/windows/display.cpp b/source/graphics/windows/display.cpp index aaaa985..2364f6d 100644 --- a/source/graphics/windows/display.cpp +++ b/source/graphics/windows/display.cpp @@ -60,6 +60,7 @@ Display::Display(const string &): Display::~Display() { + delete priv; } void Display::set_mode(const VideoMode &requested_mode, bool)