projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c70c4
)
Use pixman_malloc_ab instead of plain malloc for the fbStore64_generic scratch buffer.
author
Aaron Plattner
<aplattner@nvidia.com>
Fri, 13 Jun 2008 16:52:53 +0000
(09:52 -0700)
committer
Aaron Plattner
<aplattner@nvidia.com>
Fri, 13 Jun 2008 16:53:19 +0000
(09:53 -0700)
pixman/pixman-access.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-access.c
b/pixman/pixman-access.c
index
ec187d3
..
ca9619c
100644
(file)
--- a/
pixman/pixman-access.c
+++ b/
pixman/pixman-access.c
@@
-1857,7
+1857,7
@@
fbStore64_generic (pixman_image_t *image,
assert(image->common.type == BITS);
assert(store32);
- argb8Pixels =
malloc(sizeof(uint32_t) * width
);
+ argb8Pixels =
pixman_malloc_ab (width, sizeof(uint32_t)
);
if (!argb8Pixels) return;
// Contract the scanline. We could do this in place if values weren't