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:
parent
fffac2eb88
commit
45736c1d9c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue