]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_meta_conn_01/node_sim_relay.c
Set the priv pointer at channel open time in the channels-cornercases test.
[meshlink] / test / blackbox / test_case_meta_conn_01 / node_sim_relay.c
index 3d5ba06d7e72ecc7e6b1ab3d300fe57964f1d27d..3c6c548c36873bd73571de5f49c0c1ab830dd972 100644 (file)
@@ -25,6 +25,8 @@
 #include "../common/mesh_event_handler.h"
 
 int main(int argc, char *argv[]) {
+       (void)argc;
+
        struct timeval main_loop_wait = { 5, 0 };
 
        int client_id = -1;
@@ -54,4 +56,5 @@ int main(int argc, char *argv[]) {
        }
 
        execute_close();
+       meshlink_destroy(argv[1]);
 }