Replace free() with mh_free0()
[mmh] / sbr / fmt_compile.c
index 85ed7d7..f4d92d2 100644 (file)
@@ -308,7 +308,7 @@ fmt_compile(char *fstring, struct format **fmt)
        size_t i;
 
        if (format_string)
-               free(format_string);
+               mh_free0(&format_string);
        format_string = getcpy(fstring);
        usr_fstring = fstring;