]> git.marmaro.de Git - mmh/blobdiff - uip/mhlist.c
Replace free() with mh_free0()
[mmh] / uip / mhlist.c
index 460901281f3cbe59c22a4c5e7ebe43c70372cd28..72dc9ed2485e80582363c40852767ff1a91ca6ff 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) {