Change in libosmocore[master]: test: gprs_ns2: free the nsi after each test

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Sun Jan 17 21:43:24 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22272 )


Change subject: test: gprs_ns2: free the nsi after each test
......................................................................

test: gprs_ns2: free the nsi after each test

Change-Id: I700da48d7afe6b1a81484a0725faf0c56073446d
---
M tests/gb/gprs_ns2_test.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/72/22272/1

diff --git a/tests/gb/gprs_ns2_test.c b/tests/gb/gprs_ns2_test.c
index b44b033..d06089e 100644
--- a/tests/gb/gprs_ns2_test.c
+++ b/tests/gb/gprs_ns2_test.c
@@ -148,8 +148,8 @@
 	ns2_nse_notify_unblocked(nsvc[1], false);
 	OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 42 + 23);
 
+	gprs_ns2_free(nsi);
 	printf("--- Finish NSE transfer cap\n");
-
 }
 
 int main(int argc, char **argv)

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I700da48d7afe6b1a81484a0725faf0c56073446d
Gerrit-Change-Number: 22272
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210117/59823685/attachment.htm>


More information about the gerrit-log mailing list