aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-04 13:16:48 +0000
committerMax Horn2003-07-04 13:16:48 +0000
commit85c467c6a0185cc8aa6eea2fa9182ef9fd92b335 (patch)
treec6d45559a26b19d943b633d24f7779782e1e2384 /scumm
parent470b406587d21fc7322c36424da046497af5c8de (diff)
downloadscummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.tar.gz
scummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.tar.bz2
scummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.zip
fixed two leaks
svn-id: r8739
Diffstat (limited to 'scumm')
-rw-r--r--scumm/instrument.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/instrument.h b/scumm/instrument.h
index 84b45771d7..8116af1d25 100644
--- a/scumm/instrument.h
+++ b/scumm/instrument.h
@@ -52,6 +52,7 @@ public:
};
Instrument() : _type (0), _instrument (0) { }
+ ~Instrument() { delete _instrument; }
static void nativeMT32 (bool native);
void clear();