From ecdda5acdf919abe9c6803f8db470505fe425a20 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 26 Apr 2014 17:34:24 +0300 Subject: FULLPIPE: Implement Sound() destructor --- engines/fullpipe/sound.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 10ae376a32..294be17e9d 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -85,7 +85,9 @@ Sound::Sound() { } Sound::~Sound() { - warning("STUB: Sound::~Sound()"); + freeSound(); + + free(_description); } bool Sound::load(MfcArchive &file, NGIArchive *archive) { -- cgit v1.2.3