projects
/
apps
/
osp
/
Gallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leaks
[apps/osp/Gallery.git]
/
src
/
GlAlbumListPresentationModel.cpp
diff --git
a/src/GlAlbumListPresentationModel.cpp
b/src/GlAlbumListPresentationModel.cpp
index
4f604a2
..
3f60859
100644
(file)
--- a/
src/GlAlbumListPresentationModel.cpp
+++ b/
src/GlAlbumListPresentationModel.cpp
@@
-110,6
+110,8
@@
AlbumListPresentationModel::~AlbumListPresentationModel(void)
{
AppLogDebug("ENTER");
DeviceManager::RemoveDeviceEventListener(DEVICE_TYPE_STORAGE_CARD, *this);
+ delete __pFolderBackgroundBitmap;
+ delete __pContentManager;
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}