diff --git a/src/connection.cpp b/src/connection.cpp index 8aedd0d..2d053b3 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -289,6 +289,7 @@ void Connection::CreateColumnsFromResultSet(oracle::occi::ResultSet* rs, std::ve default: std::ostringstream message; message << "CreateColumnsFromResultSet: Unhandled oracle data type: " << type; + delete col; throw NodeOracleException(message.str()); break; }