[sword-devel] swld.cpp at line 111 - is this a bug?
TS
outofthecube at icloud.com
Tue Oct 11 15:08:46 MST 2016
Hi,
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. Is this correct? 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.
-TS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20161011/2f073e52/attachment.html>
More information about the sword-devel
mailing list