From 9a3b79acaa8bc47d2f9278ee48536977c1ac6766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Wed, 18 Oct 2023 18:23:41 +0200 Subject: [PATCH] #4197: ODBC::Binder UUID new/free mismatch --- Data/ODBC/src/Binder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/ODBC/src/Binder.cpp b/Data/ODBC/src/Binder.cpp index 28cf42fc26..fc0d7c5ba8 100644 --- a/Data/ODBC/src/Binder.cpp +++ b/Data/ODBC/src/Binder.cpp @@ -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();