Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8a3f3c08
Commit
8a3f3c08
authored
Apr 25, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/dibdrv: Fix a clipped_rects leak (Valgrind).
parent
fc8bf3c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bitblt.c
dlls/gdi32/dibdrv/bitblt.c
+4
-0
No files found.
dlls/gdi32/dibdrv/bitblt.c
View file @
8a3f3c08
...
...
@@ -925,7 +925,10 @@ DWORD put_image_into_bitmap( BITMAPOBJ *bmp, HRGN clip, BITMAPINFO *info,
src_dib
.
bits
.
is_copy
=
bits
->
is_copy
;
if
(
get_clipped_rects
(
&
dib
,
&
dst
->
visrect
,
clip
,
&
clipped_rects
))
{
copy_rect
(
&
dib
,
&
dst
->
visrect
,
&
src_dib
,
&
src
->
visrect
,
&
clipped_rects
,
R2_COPYPEN
);
free_clipped_rects
(
&
clipped_rects
);
}
return
ERROR_SUCCESS
;
...
...
@@ -981,6 +984,7 @@ DWORD dibdrv_PutImage( PHYSDEV dev, HRGN clip, BITMAPINFO *info,
}
else
ret
=
execute_rop
(
pdev
,
&
dst
->
visrect
,
&
src_dib
,
&
src
->
visrect
,
&
clipped_rects
,
rop
);
free_clipped_rects
(
&
clipped_rects
);
}
if
(
tmp_rgn
)
DeleteObject
(
tmp_rgn
);
return
ret
;
...
...
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