From 7142ed2a08f7e1523dbe39c6f59975261fcda73c Mon Sep 17 00:00:00 2001 From: lobty Date: Mon, 10 Nov 2025 09:33:59 +0800 Subject: [PATCH] codecheck Signed-off-by: lobty --- .../storage/src/sqlite/relational/sqlite_relational_store.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/libs/distributeddb/storage/src/sqlite/relational/sqlite_relational_store.cpp b/frameworks/libs/distributeddb/storage/src/sqlite/relational/sqlite_relational_store.cpp index 4d05f729750..4297bcab8ab 100644 --- a/frameworks/libs/distributeddb/storage/src/sqlite/relational/sqlite_relational_store.cpp +++ b/frameworks/libs/distributeddb/storage/src/sqlite/relational/sqlite_relational_store.cpp @@ -2042,6 +2042,7 @@ void SQLiteRelationalStore::TrackerRepairImpl(TrackerTable &trackerTable, const } sqlite3 *db = nullptr; if (handle->GetDbHandle(db) != E_OK) { + ReleaseHandle(handle); return; } for (const auto &sql : repairInfo.createTriggerSqls) { -- Gitee