X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlistsbr.c;h=46b0d4cc40269a8636f5a97ecec001cb2b8c300c;hp=2a4f5041e9788c6110078336ae3c28e535c738ea;hb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;hpb=b78007de9802005825390bee71dfce2306b42519 diff --git a/uip/mhlistsbr.c b/uip/mhlistsbr.c index 2a4f504..46b0d4c 100644 --- a/uip/mhlistsbr.c +++ b/uip/mhlistsbr.c @@ -176,9 +176,9 @@ list_content(CT ct, int toplevel, int verbose, int debug) char *dp; dp = trimcpy(cp = getcpy(ct->c_descr)); - free(cp); + mh_free0(&cp); printf(LSTFMT2d1, dp); - free(dp); + mh_free0(&dp); } printf("\n"); @@ -201,7 +201,7 @@ list_content(CT ct, int toplevel, int verbose, int debug) dp = trimcpy(cp = add(ci->ci_comment, NULL)); free (cp); snprintf(buffer, sizeof(buffer), "(%s)", dp); - free(dp); + mh_free0(&dp); printf(LSTFMT2d2, buffer); } }