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
/
GlContentUpdateEventListener.cpp
diff --git
a/src/GlContentUpdateEventListener.cpp
b/src/GlContentUpdateEventListener.cpp
index
5efd30f
..
cea1f25
100644
(file)
--- a/
src/GlContentUpdateEventListener.cpp
+++ b/
src/GlContentUpdateEventListener.cpp
@@
-43,6
+43,7
@@
ContentUpdateEventListener::~ContentUpdateEventListener(void)
{
AppLogDebug("ENTER");
__pContentManager->RemoveContentUpdateEventListener(*this);
+ delete __pContentManager;
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}