]> diplodocus.org Git - nmh/blobdiff - sbr/encode_rfc2047.c
Replace `if (p) free(p)' with `mh_xfree(p)'.
[nmh] / sbr / encode_rfc2047.c
index 2c8a3f0d9ffcf1ed2baa4528a10a7b8ca570a61d..aff04c81235cb6891df69c73fdfd3f6d1f4c0bdc 100644 (file)
@@ -798,11 +798,8 @@ do_reformat:
     output = NULL;
 
 out:
     output = NULL;
 
 out:
-
-    if (tmpbuf)
-       free(tmpbuf);
-    if (output)
-       free(output);
+    mh_xfree(tmpbuf);
+    mh_xfree(output);
 
     return errflag > 0;
 }
 
     return errflag > 0;
 }