diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2011-04-04 22:31:42 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2011-04-07 19:57:57 +0300 |
commit | 274dca8f2c6707121d45df8015fe7eddb129dec9 (patch) | |
tree | a8d7b86449caeaa8c213ffb394535c4221bec050 /miext/shadow/shrot32pack_180.c | |
parent | f603061e9482ad5caf1975ba5395b3294852d072 (diff) |
dix: don't free stranger pointers inside AllocARGBCursor
This seems a good convention to follow: if pointers are allocate outside a
given function, then free there as well when a failure occurs.
AllocARGBCursor and its callers were mixing up the freeing of resources and
causing a particular double free inside TileScreenSaver (srcbits and mskbits).
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Diffstat (limited to 'miext/shadow/shrot32pack_180.c')
0 files changed, 0 insertions, 0 deletions