X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/338fd221941133a66d671220f79190407250253a..45c8aa2f011526190e135e20cc61bdbac30e89e3:/uip/picksbr.c diff --git a/uip/picksbr.c b/uip/picksbr.c index 6433d2d0..6faa108f 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -633,6 +633,7 @@ gcompile (struct nexus *n, char *astr) case '\\': if ((c = *sp++) == '\0') goto cerror; + /* FALLTHRU */ defchar: default: *ep++ = CCHR; @@ -946,7 +947,7 @@ plist case FLD: case FLDPLUS: mh_xfree(bp); - bp = add (buf, NULL); + bp = mh_xstrdup(buf); while (state == FLDPLUS) { bufsz = sizeof buf; state = m_getfld (&gstate, name, buf, &bufsz, fp);