From a58b23ecafe1c422966816938dda471a9cfd8ad0 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Oct 2016 00:18:54 +0100 Subject: [PATCH] Replace `if (p) free(p)' with `mh_xfree(p)'. --- sbr/encode_rfc2047.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index 2c8a3f0d..aff04c81 100644 --- a/sbr/encode_rfc2047.c +++ b/sbr/encode_rfc2047.c @@ -798,11 +798,8 @@ do_reformat: output = NULL; out: - - if (tmpbuf) - free(tmpbuf); - if (output) - free(output); + mh_xfree(tmpbuf); + mh_xfree(output); return errflag > 0; } -- 2.56.0