1d28d7d2b4d2b2551bd1f432aa175f54a69364a4 seems to have copied this
implementation of `userdata_t` from cmd/tools/gxl2gv.c without noticing the
`xml_attr_value` member is never written to in graphml2gv.
}
typedef struct {
- agxbuf xml_attr_value;
agxbuf composite_buffer;
char* gname;
gv_stack_t elements;
static void freeUserdata(userdata_t * ud)
{
dtclose(ud->nameMap);
- agxbfree(&(ud->xml_attr_value));
agxbfree(&(ud->composite_buffer));
freeString(&ud->elements);
free(ud);
ud->edgeinverted = FALSE;
} else if (strcmp(name, "attr") == 0) {
char *name = "";
- char *value;
+ char *value = "";
ud->closedElementType = TAG_NONE;
- value = agxbuse(&ud->xml_attr_value);
setAttr(name, value, ud);
}