diff options
author | Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> | 2011-03-30 15:19:28 +0300 |
---|---|---|
committer | Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> | 2011-04-13 11:06:00 +0300 |
commit | 5c810e2ac233e00f361549bafb9b59e8a9e05eff (patch) | |
tree | be4a223459872960fbda3054bd3a32d7c75704f4 | |
parent | d749948f9492fd9b61c74655a08e32c595e0e3a5 (diff) |
xcms: Fix error on LINEAR_RGB_InitSCCData error path.
Due to what looks like a copy & paste error, pScreenData->pBlueTbl would
be accessed after being free'd.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/xcms/LRGB.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcms/LRGB.c b/src/xcms/LRGB.c index 2dca82e..9b394fe 100644 --- a/src/xcms/LRGB.c +++ b/src/xcms/LRGB.c @@ -802,7 +802,7 @@ FreeBlueTbl: Xfree((char *)pScreenData->pBlueTbl); FreeGreenTblElements: - Xfree((char *)pScreenData->pBlueTbl->pBase); + Xfree((char *)pScreenData->pGreenTbl->pBase); FreeGreenTbl: Xfree((char *)pScreenData->pGreenTbl); |