session UPDATE latest libyang changes
diff --git a/tests/test_server_thread.c b/tests/test_server_thread.c
index 768d607..a1faeb6 100644
--- a/tests/test_server_thread.c
+++ b/tests/test_server_thread.c
@@ -757,7 +757,7 @@
     pthread_barrier_destroy(&barrier);
 
     nc_server_destroy();
-    ly_ctx_destroy(ctx, NULL);
+    ly_ctx_destroy(ctx);
 #endif
 
     return 0;