diff --git a/core/logic/smn_database.cpp b/core/logic/smn_database.cpp index e2ef45ba..49eda625 100644 --- a/core/logic/smn_database.cpp +++ b/core/logic/smn_database.cpp @@ -1672,6 +1672,8 @@ public: failure_->PushCell(failIndex_); failure_->PushArray(data, txn_->entries.length()); failure_->Execute(NULL); + + handlesys->FreeHandle(dbh, &sec); } }