aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-01-17 20:15:20 +0100
committerlynxis lazus <lynxis@fe80.eu>2021-01-19 15:06:35 +0000
commitaca31b8b2ddd63bc5f9f8db020cffb699672477b (patch)
tree1a50571599f3d3018103bab6baba10bc2620998b
parentaf5bfebcf366ebb86157f845b997ef561f13b17d (diff)
test: gprs_ns2: free the nsi after each test
-rw-r--r--tests/gb/gprs_ns2_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gb/gprs_ns2_test.c b/tests/gb/gprs_ns2_test.c
index 4c47b6ab..bcfd4606 100644
--- a/tests/gb/gprs_ns2_test.c
+++ b/tests/gb/gprs_ns2_test.c
@@ -142,6 +142,7 @@ void test_nse_transfer_cap(void *ctx)
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");
}