summaryrefslogtreecommitdiffstats
path: root/drivers/theoraplayer/src/TheoraVideoClip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/theoraplayer/src/TheoraVideoClip.cpp')
-rw-r--r--drivers/theoraplayer/src/TheoraVideoClip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/theoraplayer/src/TheoraVideoClip.cpp b/drivers/theoraplayer/src/TheoraVideoClip.cpp
index 3ee4b83370..b71319e6a1 100644
--- a/drivers/theoraplayer/src/TheoraVideoClip.cpp
+++ b/drivers/theoraplayer/src/TheoraVideoClip.cpp
@@ -75,7 +75,7 @@ TheoraVideoClip::~TheoraVideoClip()
if (mAudioInterface)
{
mAudioMutex->lock(); // ensure a thread isn't using this mutex
- memdelete(mAudioInterface); // notify audio interface it's time to call it a day
+ delete mAudioInterface; // notify audio interface it's time to call it a day
mAudioMutex ->unlock();
delete mAudioMutex;
}