]> diplodocus.org Git - nmh/commitdiff
Don't need to cast to `char *' for free(3) these days.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 12:42:43 +0000 (13:42 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 12:42:43 +0000 (13:42 +0100)
sbr/context_del.c

index 4b4e285..37cbce0 100644 (file)
@@ -30,7 +30,7 @@ context_del (char *key)
                m_defs = np->n_next;
            free (np->n_name);
             mh_xfree(np->n_field);
-           free ((char *) np);
+           free(np);
            ctxflags |= CTXMOD;
            return 0;
        }