projects
/
platform
/
core
/
context
/
context-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ec4e1
)
Remove memory leak
22/69622/1
author
Somin Kim
<somin926.kim@samsung.com>
Mon, 16 May 2016 07:16:48 +0000
(16:16 +0900)
committer
Somin Kim
<somin926.kim@samsung.com>
Mon, 16 May 2016 07:16:48 +0000
(16:16 +0900)
Change-Id: I3c03d25d1079d79b0d6f27dbc8975766e4b66198
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
src/social-stats/LogAggregator.cpp
patch
|
blob
|
history
diff --git
a/src/social-stats/LogAggregator.cpp
b/src/social-stats/LogAggregator.cpp
index
ecee5e2
..
63dbfea
100644
(file)
--- a/
src/social-stats/LogAggregator.cpp
+++ b/
src/social-stats/LogAggregator.cpp
@@
-65,12
+65,13
@@
void ctx::ContactLogAggregator::onExecuted(unsigned int queryId, int error, std:
lastTime = currentTime - LOG_RETENTION_PERIOD;
__getUpdatedContactLogList(lastTime, &list);
- IF_FAIL_
VOID
(list);
+ IF_FAIL_
CATCH
(list);
__removeExpiredLog();
__insertContactLogList(list);
__destroyContactLogList(list);
+CATCH:
delete this;
}