]> git.marmaro.de Git - mmh/blobdiff - uip/mhshowsbr.c
Replace free() with mh_free0()
[mmh] / uip / mhshowsbr.c
index aeaf0e8e0c76152d1adc01b14bebae795179da61..62988699bb9f88ad7ade25b9b903fdec9da5e78e 100644 (file)
@@ -332,7 +332,7 @@ show_content_aux(CT ct, int alternate, char *cp, char *cracked)
 
                                        s = trimcpy(ct->c_descr);
                                        strncpy(bp, s, buflen);
-                                       free(s);
+                                       mh_free0(&s);
                                }
                                break;
 
@@ -733,7 +733,7 @@ show_multi_aux(CT ct, int alternate, char *cp)
 
                                        s = trimcpy(ct->c_descr);
                                        strncpy(bp, s, buflen);
-                                       free(s);
+                                       mh_free0(&s);
                                }
                                break;