From 207eec91afc6b538753ddc44905ac9ddbc907ac0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 8 Oct 2016 01:27:56 +0300 Subject: [PATCH] Fix a memory leak --- source/graphics/windows/display.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.45.2