X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Faddrsbr.c;h=09ea1311e1ea97d5877bc4602dec8c159805341c;hb=d29d0d9cef0620e6a7ed0a18462d33c99ecd9da5;hp=ea017f4da0cdd908bce55005fcb48a85ef709430;hpb=00b5842e0c5feef345a8e69cdb501f8a4c5c8c0f;p=mmh diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index ea017f4..09ea131 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -8,6 +8,7 @@ #include #include +#include #include #include @@ -103,7 +104,7 @@ getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult) dftype = LOCALHOST; } - mp = (struct mailname *) calloc((size_t) 1, sizeof(*mp)); + mp = (struct mailname *) mh_xcalloc((size_t) 1, sizeof(*mp)); if (mp == NULL) { if (eresult) strcpy(eresult, "insufficient memory to represent address");