diff options
author | Mykola Kondratenko <mykola.kondratenko@sonymobile.com> | 2014-04-15 09:35:44 +0200 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-04-30 10:58:20 +0000 |
commit | 0c1eeb3c8ab53954218d3b8f4be08ff21be3e985 (patch) | |
tree | 3a59dbad3788ed44780ea728f306e3eb84d915fe /cmds/bootanimation/BootAnimation.h | |
parent | ade631eed0df228e343f2a00db653058ff588846 (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.h | 2 |
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(); |