]> diplodocus.org Git - nmh/commitdiff
Replace `if (p) free(p)' with `mh_xfree(p)'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 21 Oct 2016 23:27:29 +0000 (00:27 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 21 Oct 2016 23:27:29 +0000 (00:27 +0100)
uip/mhstoresbr.c

index 7e91563..930deca 100644 (file)
@@ -1078,8 +1078,7 @@ get_storeproc (CT ct)
                free(cp);
                return;
        }
                free(cp);
                return;
        }
-       if (cp)
-           free(cp);
+        mh_xfree(cp);
     }
 
     /*
     }
 
     /*
@@ -1097,8 +1096,7 @@ get_storeproc (CT ct)
            ct->c_storeproc = add (cp, NULL);
 
     }
            ct->c_storeproc = add (cp, NULL);
 
     }
-    if (cp)
-       free(cp);
+    mh_xfree(cp);
 }
 
 
 }