aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/ShapeExtension.cpp
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-02-11 14:49:17 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:25 +0200
commit2618bd3fc7274be77d7b2cf87018dc21c779bdfa (patch)
tree1b25e754eb92d6b8832db68dc63993b25c2afd26 /nxcomp/ShapeExtension.cpp
parent07fae919a4474abfb55f41ed3d07bf93e74e9154 (diff)
downloadnx-libs-2618bd3fc7274be77d7b2cf87018dc21c779bdfa.tar.gz
nx-libs-2618bd3fc7274be77d7b2cf87018dc21c779bdfa.tar.bz2
nx-libs-2618bd3fc7274be77d7b2cf87018dc21c779bdfa.zip
Clean up memory when first XCreateRegion succeeds and second fails
Error: Memory leak (CWE 401) Memory leak of pointer 's' allocated with XCreateRegion() at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/nx-X11/lib/X11/Region.c in function 'XShrinkRegion'. 's' allocated at line 387 with XCreateRegion(). s leaks when s != 0 at line 387. Error: Memory leak (CWE 401) Memory leak of pointer 'tra' allocated with XCreateRegion() at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/nx-X11/lib/X11/Region.c in function 'XXorRegion'. 'tra' allocated at line 1451 with XCreateRegion(). tra leaks when tra != 0 at line 1451. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/ShapeExtension.cpp')
0 files changed, 0 insertions, 0 deletions