projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0d378c
)
Fix the double-free issue
author
Jaesung Ku
<jaesung.ku@samsung.com>
Fri, 16 Aug 2013 14:02:07 +0000
(23:02 +0900)
committer
Jaesung Ku
<jaesung.ku@samsung.com>
Fri, 16 Aug 2013 14:02:07 +0000
(23:02 +0900)
Change-Id: Ibc9f7a48908f1805d045c542d7259d7d3e53d2f0
Signed-off-by: Jaesung Ku <jaesung.ku@samsung.com>
src/app/FApp_AppResourceImpl.cpp
patch
|
blob
|
history
diff --git
a/src/app/FApp_AppResourceImpl.cpp
b/src/app/FApp_AppResourceImpl.cpp
index
75779ff
..
94b0a09
100644
(file)
--- a/
src/app/FApp_AppResourceImpl.cpp
+++ b/
src/app/FApp_AppResourceImpl.cpp
@@
-70,9
+70,6
@@
_AppResourceImpl::ReleaseInstance(const Tizen::Base::String& key)
result r = __pLock->Acquire();
SysTryLog(NID_APP, !IsFailed(r), "Failed to acquire mutex.");
- AppResource* pAppResource = static_cast<AppResource*> (__pContainer->GetValue(key));
- delete pAppResource;
-
ret = __pContainer->Remove(key);
r = __pLock->Release();