]> diplodocus.org Git - nmh/blobdiff - uip/install-mh.c
Rename local enum to avoid clashing with NEW() macro.
[nmh] / uip / install-mh.c
index 6b8f4442632fd00b6f84b39c7e85a131c3f1ca68..a79793f5a36ce613474e8fdcbd75ee172b457254 100644 (file)
@@ -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;