summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/AudioPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/bootanimation/AudioPlayer.cpp')
-rw-r--r--cmds/bootanimation/AudioPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/AudioPlayer.cpp b/cmds/bootanimation/AudioPlayer.cpp
index 81fe5f8..2932130 100644
--- a/cmds/bootanimation/AudioPlayer.cpp
+++ b/cmds/bootanimation/AudioPlayer.cpp
@@ -305,7 +305,7 @@ bool AudioPlayer::threadLoop()
exit:
if (pcm)
pcm_close(pcm);
- mCurrentFile->release();
+ delete mCurrentFile;
mCurrentFile = NULL;
return false;
}