aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/audiostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 2832b72394..771baf351a 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -142,7 +142,7 @@ public:
_origPtr = autoFreeMemory ? ptr : 0;
}
- ~LinearMemoryStream() {
+ virtual ~LinearMemoryStream() {
free(const_cast<byte *>(_origPtr));
}
int readBuffer(int16 *buffer, const int numSamples);