diff options
author | Corentin Chary <corentincj@iksaif.net> | 2011-02-04 09:05:58 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-23 16:28:28 -0600 |
commit | e31e3694afef58ba191cbcc6875ec243e5971268 (patch) | |
tree | b5a18832ceb272a347843d9ed7b7798dd67b0079 /cmd.c | |
parent | ce702e93b0b99562ed42ba5c078914f2209b9a6a (diff) |
vnc: palette: use a pool to reduce memory allocations
We now that the palette will never have more than 256
elements. Let's use a pool to reduce malloc calls.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions