projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66951b7
)
pixman-renderer: copy_to_hw_buffer: don't leak output_region
author
Ryo Munakata
<ryomnktml@gmail.com>
Wed, 3 Sep 2014 16:56:53 +0000
(
01:56
+0900)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Thu, 4 Sep 2014 08:59:49 +0000
(11:59 +0300)
This was reported by Valgrind.
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/pixman-renderer.c
patch
|
blob
|
history
diff --git
a/src/pixman-renderer.c
b/src/pixman-renderer.c
index
351f00e
..
2c26c3a
100644
(file)
--- a/
src/pixman-renderer.c
+++ b/
src/pixman-renderer.c
@@
-457,6
+457,7
@@
copy_to_hw_buffer(struct weston_output *output, pixman_region32_t *region)
region_global_to_output(output, &output_region);
pixman_image_set_clip_region32 (po->hw_buffer, &output_region);
+ pixman_region32_fini(&output_region);
pixman_image_composite32(PIXMAN_OP_SRC,
po->shadow_image, /* src */