diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-10 10:24:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-24 14:22:36 -0700 |
commit | 174ccd84931ece5a92a09c4a1d6a47e0958ebf7e (patch) | |
tree | c1e1e55feb46f82bbe99454cee2e7ed25fa0d37b /xfixes | |
parent | 6bca0184d167388cd417d113031317990489987d (diff) |
xf86SbusCmapLoadPalette: Delay malloc until needed, avoiding leak on error
Reported with other leaks found by cppcheck in bugzilla #50281
https://bugs.freedesktop.org/show_bug.cgi?id=50281
V2: check for malloc failure
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfixes')
0 files changed, 0 insertions, 0 deletions