X-Git-Url: http://git.droids-corp.org/?p=protos%2Flibecoli.git;a=blobdiff_plain;f=src%2Fecoli_node_dynamic.c;fp=src%2Fecoli_node_dynamic.c;h=e511f68167abab06e1e19a1a330ffa1ca74e81ff;hp=2b79f7ae8038114d6661f40ca002dfcf2f0ca7c0;hb=dcc0daee87364ab2e0b312829c6dd612c33e6a54;hpb=d9d05d35bbf9bee36d9ce2b8329b5e2a6a19d397 diff --git a/src/ecoli_node_dynamic.c b/src/ecoli_node_dynamic.c index 2b79f7a..e511f68 100644 --- a/src/ecoli_node_dynamic.c +++ b/src/ecoli_node_dynamic.c @@ -80,7 +80,7 @@ ec_node_dynamic_complete(const struct ec_node *node, /* add the node pointer in the attributes, so it will be freed * when parse is freed */ snprintf(key, sizeof(key), "_dyn_%p", child); - ret = ec_dict_set(comp->attrs, key, child, + ret = ec_dict_set(ec_comp_get_attrs(comp), key, child, (void *)node_free); if (ret < 0) { child = NULL; /* already freed */