From 0bcb75e3bff9a1fc5822c49ca74a0e4d1c0fee27 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Thu, 15 Aug 2024 12:03:31 +0200 Subject: [PATCH] tests BUGFIX memory leak --- tests/ln2_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ln2_test.c b/tests/ln2_test.c index 90240d95..938c35d2 100644 --- a/tests/ln2_test.c +++ b/tests/ln2_test.c @@ -79,6 +79,7 @@ ln2_glob_test_server_thread(void *arg) msgtype = nc_accept(NC_ACCEPT_TIMEOUT, test_ctx->ctx, &session); if (msgtype != NC_MSG_HELLO) { SETUP_FAIL_LOG; + nc_ps_free(ps); return NULL; }