summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-03-01 17:07:37 +0100
committerDavid Tardon <dtardon@redhat.com>2015-03-01 17:33:59 +0100
commit115b78837e9a4206603fc5dbc7da68f65ba08a4b (patch)
tree1c75b08a28762148f0ec8835851abc6f901fb2a1 /include/osl
parent79143802420796074cebc07d133f75458205bd1a (diff)
mismatched new[]/delete
Change-Id: Ie3987480800cb07fcb18adb9fa4a5b190c1d45b5
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/profile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osl/profile.hxx b/include/osl/profile.hxx
index a4c9e724f78d..f14a09a3fbe1 100644
--- a/include/osl/profile.hxx
+++ b/include/osl/profile.hxx
@@ -100,7 +100,7 @@ namespace osl {
}
pStrings[ nItems ] = NULL;
sal_uInt32 nRet = osl_readProfileIdent(profile, rSection.getStr(), rEntry.getStr(), nFirstId, pStrings, nDefault);
- delete pStrings;
+ delete[] pStrings;
return nRet;
}