Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
3764e14b
Commit
3764e14b
authored
Jul 12, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory leak
parent
7b896397
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
PdfWriter/OnlineOfficeBinToPdf.cpp
PdfWriter/OnlineOfficeBinToPdf.cpp
+8
-4
No files found.
PdfWriter/OnlineOfficeBinToPdf.cpp
View file @
3764e14b
...
...
@@ -390,12 +390,16 @@ namespace NSOnlineOfficeBinToPdf
case
Aggplus
:
:
DashStyleCustom
:
{
int
nCountDash
=
ReadInt
(
current
,
curindex
);
if
(
0
<
nCountDash
)
{
double
*
pDash
=
new
double
[
nCountDash
];
for
(
int
nDash
=
0
;
nDash
<
nCountDash
;
++
nDash
)
{
pDash
[
nDash
]
=
ReadInt
(
current
,
curindex
)
/
100000.0
;
}
pPdf
->
PenDashPattern
(
pDash
,
nCountDash
);
delete
[]
pDash
;
}
}
default:
pPdf
->
put_PenDashStyle
(
nDashType
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment