1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

add missing node_init & node_deinit calls to test tool

This commit is contained in:
Steffen Vogel 2015-06-03 10:14:02 +02:00
parent fffac2eb88
commit 45736c1d9c

View file

@ -98,6 +98,7 @@ int main(int argc, char *argv[])
node->refcnt++;
node->vt->refcnt++;
node_init(argc-3, argv+3, &settings);
node_start(node);
/* Parse Arguments */
@ -143,6 +144,7 @@ check:
error("Unknown test: '%s'", argv[2]);
node_stop(node);
node_deinit();
config_destroy(&config);
return 0;