mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 16:33:50 +00:00
Fix memory leak in audiostream (I think)
svn-id: r29940
This commit is contained in:
parent
1ecbde083f
commit
df33fdd79e
@ -142,7 +142,7 @@ public:
|
||||
|
||||
_origPtr = autoFreeMemory ? ptr : 0;
|
||||
}
|
||||
~LinearMemoryStream() {
|
||||
virtual ~LinearMemoryStream() {
|
||||
free(const_cast<byte *>(_origPtr));
|
||||
}
|
||||
int readBuffer(int16 *buffer, const int numSamples);
|
||||
|
Loading…
x
Reference in New Issue
Block a user