mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
alloc memory error
This commit is contained in:
@ -390,7 +390,7 @@ namespace NSOnlineOfficeBinToPdf
|
||||
case Aggplus::DashStyleCustom:
|
||||
{
|
||||
int nCountDash = ReadInt(current, curindex);
|
||||
double* pDash = new double(nCountDash);
|
||||
double* pDash = new double[nCountDash];
|
||||
for (int nDash = 0; nDash < nCountDash; ++nDash)
|
||||
{
|
||||
pDash[nDash] = ReadInt(current, curindex) / 100000.0;
|
||||
|
||||
Reference in New Issue
Block a user