X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6fc2909634fb431c65ecfa8b6db4f6519f99b389..4b2ba897bbf4c545b33e42bd1e06bee26e665dc4:/uip/install-mh.c?ds=sidebyside diff --git a/uip/install-mh.c b/uip/install-mh.c index 6b8f4442..a79793f5 100644 --- a/uip/install-mh.c +++ b/uip/install-mh.c @@ -180,8 +180,8 @@ query: /* * Add some initial elements to the profile/context list */ - m_defs = (struct node *) mh_xmalloc (sizeof *np); - np = m_defs; + NEW(np); + m_defs = np; np->n_name = getcpy ("Path"); np->n_field = getcpy (pathname); np->n_context = 0;