Skip to content

Commit

Permalink
Merge pull request joeferner#64 from mscdex/master
Browse files Browse the repository at this point in the history
Fix memory leak on throw
  • Loading branch information
joeferner committed Jul 27, 2013
2 parents 6a7b6be + 6c88b4e commit 2d1fb22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2d1fb22

Please sign in to comment.