Merge pull request #47 from alliedmodders/fix-dbi-leak

Fix a Handle leak when reporting transaction errors.
This commit is contained in:
David Anderson 2014-06-22 12:26:45 -07:00
commit 3ba47a71fd

View File

@ -1672,6 +1672,8 @@ public:
failure_->PushCell(failIndex_);
failure_->PushArray(data, txn_->entries.length());
failure_->Execute(NULL);
handlesys->FreeHandle(dbh, &sec);
}
}