]> 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:45:35 +0000 (13:45 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 12:45:35 +0000 (13:45 +0100)
uip/mhstoresbr.c

index 930decad10d3b5463465c737921ad587d6d7538e..9c38a588d2ffbec9fe84e3a3704411830db9fcf5 100644 (file)
@@ -395,7 +395,7 @@ missing_part:
     ct = *ctq++;
     if (store_content (ct, NULL, info) == NOTOK) {
 losing:
-       free ((char *) base);
+       free(base);
        return NOTOK;
     }
 
@@ -405,7 +405,7 @@ losing:
            goto losing;
     }
 
-    free ((char *) base);
+    free(base);
     return OK;
 }