mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix: missing reference
This commit is contained in:
parent
f81c8125be
commit
ef8011725b
3 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,7 @@ int main(int argc, char *argv[])
|
|||
node_reverse(node);
|
||||
|
||||
node->refcnt++;
|
||||
node->vt->refcnt++;
|
||||
|
||||
node_init(argc-optind, argv+optind, &set);
|
||||
node_start(node);
|
||||
|
|
|
@ -109,6 +109,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
node->refcnt++;
|
||||
pool = alloc(sizeof(struct msg) * node->combine);
|
||||
node->vt->refcnt++;
|
||||
|
||||
node_init(argc-optind, argv+optind, &set);
|
||||
node_start(node);
|
||||
|
|
|
@ -102,6 +102,8 @@ int main(int argc, char *argv[])
|
|||
error("There's no node with the name '%s'", argv[3]);
|
||||
|
||||
node->refcnt++;
|
||||
node->vt->refcnt++;
|
||||
|
||||
node_start(node);
|
||||
node_start_defer(node);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue