From a90dce018d426925ff8ddb25b326502d8e75b521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 30 Jul 2017 16:46:11 +0200 Subject: [PATCH] Properly dispose of TitleSequencePlayer to plug memleak --- src/openrct2/title/TitleScreen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openrct2/title/TitleScreen.cpp b/src/openrct2/title/TitleScreen.cpp index 335ae990e9..733ecf98e7 100644 --- a/src/openrct2/title/TitleScreen.cpp +++ b/src/openrct2/title/TitleScreen.cpp @@ -47,6 +47,7 @@ TitleScreen::TitleScreen() TitleScreen::~TitleScreen() { + delete _sequencePlayer; _singleton = nullptr; }