summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-26 18:38:49 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-07-30 17:15:17 +0000
commitdc30154fdfd4fec2094d722042bf8704f6faaafc (patch)
tree8eb347b4c0448b622cea4fab6d2e3f348c855ae1
parent37642177f9fca5190ba4d732e34eb8861c32cf77 (diff)
tests/db_test: close the database when test is finished
-rw-r--r--tests/db/db_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/db/db_test.c b/tests/db/db_test.c
index cc299bf..91b32ea 100644
--- a/tests/db/db_test.c
+++ b/tests/db/db_test.c
@@ -979,6 +979,7 @@ int main(int argc, char **argv)
test_subscr_sqn();
printf("Done\n");
+ db_close(dbc);
return 0;
}