Skip to content

Commit

Permalink
#4197: ODBC::Binder UUID new/free mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Oct 18, 2023
1 parent cf78667 commit 9a3b79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/ODBC/src/Binder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void Binder::freeMemory()

UUIDMap::iterator itUUID = _uuids.begin();
UUIDMap::iterator itUUIDEnd = _uuids.end();
for(; itUUID != itUUIDEnd; ++itUUID) std::free(itUUID->first);
for(; itUUID != itUUIDEnd; ++itUUID) delete [] itUUID->first;

BoolPtrVec::iterator itBool = _boolPtrs.begin();
BoolPtrVec::iterator endBool = _boolPtrs.end();
Expand Down

0 comments on commit 9a3b79a

Please sign in to comment.