summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/AudioPlayer.cpp
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2015-02-24 12:50:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-02-24 12:50:57 +0000
commit72dc62ead214bdec5c46d42f4e859b139dba0a00 (patch)
tree2a93b6efb0bdd3fd46406466f6344623bd94f961 /cmds/bootanimation/AudioPlayer.cpp
parent6e208cddad3315c4e38accdb801908b2b9b5cbbd (diff)
parent688ff4cf0f93d1a886437884f23874e5595d59a3 (diff)
Merge "Track removal of refcounts from FileMap."
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 81fe5f85ca9b..293213008d58 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;
}