X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/116b286a03fe33db3db24a56fa3518d237f5b8c2..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/mhstoresbr.c diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 7e91563f..9c38a588 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -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; } @@ -1078,8 +1078,7 @@ get_storeproc (CT ct) free(cp); return; } - if (cp) - free(cp); + mh_xfree(cp); } /* @@ -1097,8 +1096,7 @@ get_storeproc (CT ct) ct->c_storeproc = add (cp, NULL); } - if (cp) - free(cp); + mh_xfree(cp); }