X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=3ffb3f0cda908b80c7ea92f6570cf2619046bb73;hp=9df7ffbdf625a76b44299679566e519d98338758;hb=f2ff91d8b7627e22af9715d384b6f9e9e802a39e;hpb=f3cbb9f51357972f6e74244494236a41dc4d84cd diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index 9df7ffb..3ffb3f0 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -144,7 +144,7 @@ static const char *_mutt_libesmtp_messagefp_cb (void **buf, int *len, int octets; if (*buf == NULL) - *buf = malloc (BUFLEN); + *buf = xmalloc(BUFLEN); if (len == NULL) { rewind ((FILE *) arg);