diff options
author | Paweł Kołodziejski | 2003-12-06 08:39:37 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-12-06 08:39:37 +0000 |
commit | 4c5072b6b96d5731390b1ac7af77aa5508f7d30f (patch) | |
tree | 8edc70c8785906ffafbccd0bd39aa7a53ffee397 /scumm | |
parent | 2cf7ff1e4d4a2ee3e007ece1c015eef860ffb3c8 (diff) | |
download | scummvm-rg350-4c5072b6b96d5731390b1ac7af77aa5508f7d30f.tar.gz scummvm-rg350-4c5072b6b96d5731390b1ac7af77aa5508f7d30f.tar.bz2 scummvm-rg350-4c5072b6b96d5731390b1ac7af77aa5508f7d30f.zip |
fix alloc/free
svn-id: r11517
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/smush/codec47.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/smush/codec47.cpp b/scumm/smush/codec47.cpp index ed3613beca..08238d5ba0 100644 --- a/scumm/smush/codec47.cpp +++ b/scumm/smush/codec47.cpp @@ -537,6 +537,9 @@ void Codec47Decoder::deinit() { _deltaBufs[0] = NULL; _deltaBufs[1] = NULL; } +} + +Codec47Decoder::~Codec47Decoder() { if (_tableBig) { free(_tableBig); _tableBig = NULL; @@ -545,9 +548,6 @@ void Codec47Decoder::deinit() { free(_tableSmall); _tableSmall = NULL; } -} - -Codec47Decoder::~Codec47Decoder() { deinit(); } |