From 2160e9cc8986346b8574bd179ed53c9839087507 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/picksbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/picksbr.c b/uip/picksbr.c index 0085b7a0..f262e9ca 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -422,7 +422,7 @@ nexp3 (void) free (n); return NULL; } - n->n_patbuf = getcpy (dp); + n->n_patbuf = mh_xstrdup(dp); return n; case PROTHR: -- 2.56.0