Fix to delete-incomplete warnings.

This commit is contained in:
Jose Rubio
2019-10-11 13:43:08 +02:00
parent 707cc1256f
commit c900cedbc9
5 changed files with 6 additions and 6 deletions

View File

@@ -813,7 +813,7 @@ TemplateCmd::doit()
char * helpId = DTMAILHELPERROR;
int answer = dialog->post_and_return(helpId);
SafeClose(fd);
delete [] mbuf.buffer;
delete (char*) mbuf.buffer;
free(fullpath);
return;
}