diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-24 12:59:56 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-30 18:59:33 -0800 |
commit | 2b8d373bddf427bcd95e2595cb64740ebd1d0d30 (patch) | |
tree | 5ce813958242835f50707e576a610f7bb754fb41 /README | |
parent | bcfb8e8ce56cf47bc6a61bd8c896bafba9e2a9c2 (diff) |
XcursorFileSaveImages: plug memory leak on invalid input
Error: Memory leak (CWE 401)
Memory leak of pointer 'comments' allocated with XcursorCommentsCreate(0)
at line 982 of src/file.c in function 'XcursorFileSaveImages'.
'comments' allocated at line 978 with XcursorCommentsCreate(0).
comments leaks when comments != 0 at line 981.
[ This bug was found by the Parfait 0.3.7 bug checking tool.
For more information see http://labs.oracle.com/projects/parfait/ ]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions