Mail: Fix build following realloc() fix.

This commit is contained in:
Augustin Cavalier 2020-01-18 18:50:23 -05:00
parent f504f61099
commit bef1585217
1 changed files with 1 additions and 1 deletions

View File

@ -2478,7 +2478,7 @@ TTextView::Reader::Run(void *_this)
size_t length = eol - header;
free(buffer);
buffer = (char *)malloc(buffer, length + 1);
buffer = (char *)malloc(length + 1);
if (buffer == NULL)
goto done;