From 688ff4cf0f93d1a886437884f23874e5595d59a3 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 23 Feb 2015 15:47:54 +0000 Subject: Track removal of refcounts from FileMap. Use delete instead of release. Change-Id: I25c841b368aa9d51e9259399b94cafa2bbb7a076 --- cmds/bootanimation/AudioPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/bootanimation/AudioPlayer.cpp') 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; } -- cgit v1.2.3-59-g8ed1b