Index: egb_tree.c =================================================================== --- egb_tree.c (revision 30941) +++ egb_tree.c (revision 30942) @@ -63,7 +63,7 @@ { if (node->props.table == NULL) htss_init(&node->props, strhash, strkeyeq); - htss_set(&node->props, pcb_strdup(key), pcb_strdup(val)); + htss_set(&node->props, rnd_strdup(key), rnd_strdup(val)); } char *egb_node_prop_get(egb_node_t *node, const char *key) Index: read.c =================================================================== --- read.c (revision 30941) +++ read.c (revision 30942) @@ -676,8 +676,8 @@ nx = -sidey / sidelen; ny = sidex / sidelen; r = (sidelen / 2) / tan(curvang / PCB_RAD_TO_DEG / 2.0); - cx = pcb_round(midx + nx * r); - cy = pcb_round(midy + ny * r); + cx = rnd_round(midx + nx * r); + cy = rnd_round(midy + ny * r); /* pcb_trace("curve mid: %mm;%mm center: %mm;%mm\n", midx, midy, cx, cy);*/ dx = x1 - cx;