diff options
author | Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> | 2011-03-30 15:06:10 +0300 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:25 +0200 |
commit | f50e651e8acd28f3798d31038b6b9804b8309a89 (patch) | |
tree | 69cdf3484374839b5c210c27a5a94faaf710da1e /nx-X11/lib/X11/InsCmap.c | |
parent | fefb909a07d633986e9850dbe3baa91cd1531920 (diff) | |
download | nx-libs-f50e651e8acd28f3798d31038b6b9804b8309a89.tar.gz nx-libs-f50e651e8acd28f3798d31038b6b9804b8309a89.tar.bz2 nx-libs-f50e651e8acd28f3798d31038b6b9804b8309a89.zip |
xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.
pScreenData is replaced when building per visual intensity tables. If
malloc failed the old value of pScreenData (stored also in
pScreenDefaultData) was being leaked. Also, property_return wasn't
free'd in that case.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/InsCmap.c')
0 files changed, 0 insertions, 0 deletions