Change in ...osmo-hlr[master]: tests/db_test: close the database when test is finished

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Jul 26 11:48:13 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hlr/+/14965


Change subject: tests/db_test: close the database when test is finished
......................................................................

tests/db_test: close the database when test is finished

Change-Id: I96fedf9181e89e4d68815b04f494a9c2ecc0e057
---
M tests/db/db_test.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/65/14965/1

diff --git a/tests/db/db_test.c b/tests/db/db_test.c
index fdd62c5..57fbf0c 100644
--- a/tests/db/db_test.c
+++ b/tests/db/db_test.c
@@ -903,6 +903,7 @@
 	test_subscr_sqn();
 
 	printf("Done\n");
+	db_close(dbc);
 	return 0;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/14965
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I96fedf9181e89e4d68815b04f494a9c2ecc0e057
Gerrit-Change-Number: 14965
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190726/2f75ef18/attachment.htm>


More information about the gerrit-log mailing list