dtmail: fix vla warning

This commit is contained in:
Jon Trulson 2021-12-19 11:48:35 -07:00
parent bbba562a22
commit 2559a96ee8
1 changed files with 2 additions and 2 deletions

View File

@ -566,9 +566,9 @@ DmxMsg::parse (void)
if (handleError (env, "getContents") == DTM_TRUE)
exit (1);
bodyParts = new (DtMail::BodyPart *[bc]);
bodyParts = new DtMail::BodyPart *[bc];
cachedValues = DTM_TRUE;
// cache values
bodyParts [0] = part;
numBPs++;