Browse Source

[config] fix missing reference (segfault on shutdown)

personal/stbuehler/wip
Stefan Bühler 9 years ago
parent
commit
0d40b25d19
  1. 2
      src/main/config_parser.rl

2
src/main/config_parser.rl

@ -1588,9 +1588,11 @@ static liAction* cond_walk(liServer *srv, liConditionTree *tree, liAction *posit
}
} else switch (tree->op) {
case TK_AND:
if (NULL != negative) li_action_acquire(negative);
a = cond_walk(srv, tree->left, cond_walk(srv, tree->right, positive, negative), negative);
break;
case TK_OR:
if (NULL != positive) li_action_acquire(positive);
a = cond_walk(srv, tree->left, positive, cond_walk(srv, tree->right, positive, negative));
break;
default:

Loading…
Cancel
Save