Replace free() with mh_free0()
[mmh] / sbr / m_draft.c
index b3659f9..b8d385f 100644 (file)
@@ -19,7 +19,7 @@
 char *
 m_draft(char *which)
 {
-       register struct msgs *mp;
+       struct msgs *mp;
        static char buffer[BUFSIZ];
        char *folder;
 
@@ -28,7 +28,7 @@ m_draft(char *which)
        if (!(mp = folder_read(folder))) {
                adios(EX_IOERR, NULL, "unable to read folder %s", folder);
        }
-       free(folder);
+       mh_free0(&folder);
 
        /*
        ** Make sure we have enough message status space for all