]> git.droids-corp.org - protos/libecoli.git/blobdiff - src/ecoli_node_many.c
api documentation for ec_parse
[protos/libecoli.git] / src / ecoli_node_many.c
index 54c100cfa1e27143ee1247b41f525698fbb8956a..5bfb92c24cf3593d1631837aa5b0e459689832d1 100644 (file)
@@ -58,7 +58,7 @@ static int ec_node_many_parse(const struct ec_node *node,
                /* it matches an empty strvec, no need to continue */
                if (ret == 0) {
                        child_parse = ec_pnode_get_last_child(pstate);
-                       ec_pnode_unlink_child(pstate, child_parse);
+                       ec_pnode_unlink_child(child_parse);
                        ec_pnode_free(child_parse);
                        break;
                }