summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorMykola Kondratenko <mykola.kondratenko@sonymobile.com>2014-04-15 09:35:44 +0200
committerNarayan Kamath <narayan@google.com>2014-04-30 10:58:20 +0000
commit0c1eeb3c8ab53954218d3b8f4be08ff21be3e985 (patch)
tree3a59dbad3788ed44780ea728f306e3eb84d915fe /cmds/bootanimation/BootAnimation.h
parentade631eed0df228e343f2a00db653058ff588846 (diff)
Freeing frame map
FileMap memory is never released until application exit Release it now as the texture is already loaded and the memory used for the packed resource can be released. Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 22963c220b40..ba1c507d778c 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -79,7 +79,7 @@ private:
};
status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
- status_t initTexture(void* buffer, size_t len);
+ status_t initTexture(const Animation::Frame& frame);
bool android();
bool movie();