Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.50
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
Description
Xcode was warning me that in PocketSword's Sword framework, swld.cpp at line 111 with
"delete buf;"
may be wrong and it should perhaps be
"delete[] buf;"
instead.
I looked at the code and I think Xcode is correct in that the variable is an array and needs the brackets to delete properly. I asked about this in the mailing list in Oct. 2016 and it seems confirmed that this is a bug which needs fixing.
-TS