Kaydet (Commit) 115b7883 authored tarafından David Tardon's avatar David Tardon

mismatched new[]/delete

Change-Id: Ie3987480800cb07fcb18adb9fa4a5b190c1d45b5
üst 79143802
...@@ -100,7 +100,7 @@ namespace osl { ...@@ -100,7 +100,7 @@ namespace osl {
} }
pStrings[ nItems ] = NULL; pStrings[ nItems ] = NULL;
sal_uInt32 nRet = osl_readProfileIdent(profile, rSection.getStr(), rEntry.getStr(), nFirstId, pStrings, nDefault); sal_uInt32 nRet = osl_readProfileIdent(profile, rSection.getStr(), rEntry.getStr(), nFirstId, pStrings, nDefault);
delete pStrings; delete[] pStrings;
return nRet; return nRet;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment