1
0
Fork 0
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:
Steffen Vogel 2018-03-26 14:33:20 +02:00
parent d86d561715
commit d5cc633f0f

View file

@ -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);