From 0c6ca11759d7edc122e7f1ac4f95444b81c161b2 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Tue, 18 Oct 2016 14:52:26 +0100 Subject: [PATCH] Replace getcpy() with mh_xstrdup() where the string isn't NULL. --- uip/show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/show.c b/uip/show.c index 32917398..a3970d86 100644 --- a/uip/show.c +++ b/uip/show.c @@ -259,7 +259,7 @@ usage: for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) if (is_selected(mp, msgnum)) - app_msgarg(&vec, getcpy (m_name (msgnum))); + app_msgarg(&vec, mh_xstrdup(m_name (msgnum))); seq_setcur (mp, mp->hghsel); /* update current message */ seq_save (mp); /* synchronize sequences */ -- 2.56.0