Replace free() with mh_free0()
[mmh] / uip / mhlist.c
index 4609012..72dc9ed 100644 (file)
@@ -276,8 +276,7 @@ main(int argc, char **argv)
        for (ctp = cts; *ctp; ctp++)
                free_content(*ctp);
 
-       free((char *) cts);
-       cts = NULL;
+       mh_free0(&cts);
 
        /* If reading from a folder, do some updating */
        if (mp) {