mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
node: fix assert because of uninitialized list
This commit is contained in:
parent
d86d561715
commit
d5cc633f0f
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ int node_init(struct node *n, struct node_type *vt)
|
|||
|
||||
list_push(&vt->instances, n);
|
||||
|
||||
list_init(&n->signals);
|
||||
|
||||
#ifdef WITH_HOOKS
|
||||
/* Add internal hooks if they are not already in the list */
|
||||
list_init(&n->hooks);
|
||||
|
|
Loading…
Add table
Reference in a new issue