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:
2408469
)
Fixed the Klocwork issues
author
Jiban Prakash
<p.jiban@samsung.com>
Fri, 18 Oct 2013 13:00:34 +0000
(22:00 +0900)
committer
Jiban Prakash
<p.jiban@samsung.com>
Fri, 18 Oct 2013 13:16:06 +0000
(22:16 +0900)
Change-Id: I8053c163bceb036b8621da87b3c61b72e3ff6f4b
Signed-off-by: Jiban Prakash <p.jiban@samsung.com>
src/system/FSys_RuntimeInfoImpl.cpp
patch
|
blob
|
history
diff --git
a/src/system/FSys_RuntimeInfoImpl.cpp
b/src/system/FSys_RuntimeInfoImpl.cpp
index
9454f75
..
04a688b
100644
(file)
--- a/
src/system/FSys_RuntimeInfoImpl.cpp
+++ b/
src/system/FSys_RuntimeInfoImpl.cpp
@@
-393,7
+393,7
@@
_RuntimeInfoImpl::GetDirectorySize(const char* path)
}
String appId(pApp->GetAppId());
- unique_ptr <char> appIdPath(_StringConverter::CopyToCharArrayN(appId));
+ unique_ptr <char
[]
> appIdPath(_StringConverter::CopyToCharArrayN(appId));
fileLength = strlen(appIdPath.get()) + 29;
pFileName = (char*)malloc(fileLength);