Forgot to free body..

This commit is contained in:
Andrew Pamment 2016-04-07 16:41:10 +10:00
parent 708de3bb54
commit 4f2cd6e4dd

View File

@ -357,6 +357,8 @@ char *external_editor(int socket, struct user_record *user, char *to, char *from
sprintf(buffer, "\r---\r * Origin: %s \r", tagline); sprintf(buffer, "\r---\r * Origin: %s \r", tagline);
strcat(body2, buffer); strcat(body2, buffer);
free(body);
return body2; return body2;
} }
} }