In order to keep the current behavior where the value of the last header field present is the one used, free any previous value.
}
else if ((!ascii_strcasecmp ("upersedes", line + 1) ||
!ascii_strcasecmp ("upercedes", line + 1)) && hdr)
+ {
+ FREE(&e->supersedes);
e->supersedes = safe_strdup (p);
+ }
break;
case 't':
}
else if (ascii_strcasecmp (line+1, "-label") == 0)
{
+ FREE(&e->x_label);
e->x_label = safe_strdup(p);
matched = 1;
}