X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6f2d14d9c38345075629af3487c2de491584ca1..e9d39f548915dfaeb5dee56dd3bf0d9d81bf9780:/uip/dp.c diff --git a/uip/dp.c b/uip/dp.c index 6909239b..923d49d3 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -8,6 +8,7 @@ */ #include +#include #include #include @@ -144,7 +145,7 @@ process (char *date, int length) if (cptr) { if (cptr->c_text) free(cptr->c_text); - cptr->c_text = getcpy(date); + cptr->c_text = mh_xstrdup(date); } fmt_scan (fmt, scanl, length, dat, NULL); fputs (charstring_buffer (scanl), stdout);