aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword2/driver/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/animation.cpp b/sword2/driver/animation.cpp
index 3fe259c7cf..bc68b2e0f0 100644
--- a/sword2/driver/animation.cpp
+++ b/sword2/driver/animation.cpp
@@ -373,7 +373,7 @@ int32 MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte
_vm->_graphics->createSurface(&msgSprite, &msgSurface);
_vm->_graphics->drawSurface(&msgSprite, msgSurface);
_vm->_graphics->deleteSurface(msgSurface);
- _vm->_memory->memFree(data);
+ free(data);
// In case the cutscene has a long lead-in, start just before
// the first line of text.