- msgnam = getcpy(m_name(mp->lowsel));
- if ((in = open(msgnam, O_RDONLY)) == NOTOK)
- adios(msgnam, "unable to open message");
+ msgnam = mh_xstrdup(m_name(mp->lowsel));
+ if ((in = open(msgnam, O_RDONLY)) == NOTOK) {
+ adios(EX_IOERR, msgnam, "unable to open message");
+ }