projects
/
framework
/
osp
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f1507
)
Fix prevent issue
author
SeungYeup Kim
<sy2004.kim@samsung.com>
Fri, 5 Apr 2013 00:55:57 +0000
(09:55 +0900)
committer
SeungYeup Kim
<sy2004.kim@samsung.com>
Fri, 5 Apr 2013 00:55:57 +0000
(09:55 +0900)
Change-Id: I62583601e42bb7e044e2c5c11d0c87bfaca50c90
src/io/FIo_DataRowImpl.cpp
patch
|
blob
|
history
diff --git
a/src/io/FIo_DataRowImpl.cpp
b/src/io/FIo_DataRowImpl.cpp
index
97f211c
..
2bfaa6b
100755
(executable)
--- a/
src/io/FIo_DataRowImpl.cpp
+++ b/
src/io/FIo_DataRowImpl.cpp
@@
-148,7
+148,7
@@
_DataRowImpl::SetDateTimeAt(int columnIndex, const Tizen::Base::DateTime& value)
unique_ptr<_DataItem>pItem(new (std::nothrow) _DataItem());
pDateTimeStr = _StringConverter::CopyToCharArrayN(value.ToString());
unique_ptr<String> pString(new (std::nothrow) String(pDateTimeStr));
- delete pDateTimeStr;
+ delete
[]
pDateTimeStr;
SysTryReturnResult(NID_IO, pItem != null && pString != null, E_OUT_OF_MEMORY,
"The memory is insufficient.");