aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatthew Hoops2013-04-16 12:05:42 -0400
committerMatthew Hoops2013-04-16 12:05:42 -0400
commit54d4707edc51507ed9956db2c30e32e24fd13597 (patch)
tree67074414731701fda967b03b4bdfbe414555bf85 /audio
parent2d6b66ef41fcef629ce06c0f37a4855581d8d45b (diff)
downloadscummvm-rg350-54d4707edc51507ed9956db2c30e32e24fd13597.tar.gz
scummvm-rg350-54d4707edc51507ed9956db2c30e32e24fd13597.tar.bz2
scummvm-rg350-54d4707edc51507ed9956db2c30e32e24fd13597.zip
AUDIO: Fix invalid free call
Diffstat (limited to 'audio')
-rw-r--r--audio/decoders/qdm2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decoders/qdm2.cpp b/audio/decoders/qdm2.cpp
index 732de311aa..b70fc39e48 100644
--- a/audio/decoders/qdm2.cpp
+++ b/audio/decoders/qdm2.cpp
@@ -872,7 +872,7 @@ void initVlcSparse(VLC *vlc, int nb_bits, int nb_codes,
codes, codes_wrap, codes_size,
symbols, symbols_wrap, symbols_size,
0, 0, 4 | 2) < 0) {
- free(&vlc->table);
+ free(vlc->table);
return; // Error
}