X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6f2d14d9c38345075629af3487c2de491584ca1..1e424a2249aa6b911fd3be973de00cee413342eb:/sbr/readconfig.c?ds=inline diff --git a/sbr/readconfig.c b/sbr/readconfig.c index 1fe9d036..5b72113c 100644 --- a/sbr/readconfig.c +++ b/sbr/readconfig.c @@ -64,9 +64,9 @@ readconfig (struct node **npp, FILE *ib, const char *file, int ctx) NEW(np); *npp = np; *(npp = &np->n_next) = NULL; - np->n_name = getcpy (name); + np->n_name = mh_xstrdup(name); if (state == FLDPLUS) { - cp = getcpy (field); + cp = mh_xstrdup(field); while (state == FLDPLUS) { fieldsz = sizeof field; state = m_getfld (&gstate, name, field, &fieldsz, ib);