Skip to content

Commit

Permalink
COMMON: Fix a delete/delete[] mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Mar 19, 2013
1 parent 055c7c4 commit b8576e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/foxpro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ SeekableReadStream *FoxPro::getMemo(const Record &record, uint32 field) const {
byte *dataPtr = data;
while (size > 0) {
if (block >= _memos.size()) {
delete data;
delete[] data;
throw Exception("Memo block #%d >= memo block count %d", block, _memos.size());
}

Expand Down

0 comments on commit b8576e1

Please sign in to comment.