From 45721d4064759a9dd671df58088078fe0ec940cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Sat, 7 Oct 2023 18:15:42 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-test:=20=D1=83=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B6=D0=B0=D0=BB=D0=BE=D0=B1?= =?UTF-8?q?=D1=8B=20Valgrind=20=D0=BD=D0=B0=20=D1=83=D1=82=D0=B5=D1=87?= =?UTF-8?q?=D0=BA=D1=83=20=D0=BF=D0=B0=D0=BC=D1=8F=D1=82=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D0=BE=D0=B4=D0=BD=D0=BE=D0=BC=20=D0=B8=D0=B7=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Перед выходом из теста не разрушался курсор. --- test/extra/upsert_alldups.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/extra/upsert_alldups.c b/test/extra/upsert_alldups.c index e486ae6e..702cdb82 100644 --- a/test/extra/upsert_alldups.c +++ b/test/extra/upsert_alldups.c @@ -182,6 +182,7 @@ int main(int argc, const char *argv[]) { errmsg = "failed to mdbx_txn_commit: %s\n"; goto Fail; } + mdbx_cursor_close(cur); if ((rc = mdbx_env_close(env))) { errmsg = "failed to mdbx_env_close: %s\n"; goto Fail;