Fix prevent issue
authorSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 5 Apr 2013 00:55:57 +0000 (09:55 +0900)
committerSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 5 Apr 2013 00:55:57 +0000 (09:55 +0900)
Change-Id: I62583601e42bb7e044e2c5c11d0c87bfaca50c90

src/io/FIo_DataRowImpl.cpp

index 97f211c..2bfaa6b 100755 (executable)
@@ -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.");