cppcheck analysis of pygame_1.8.1release-2.dsc
- ./src/_numericsndarray.c:215 [error] - Memory leak: chunk.abuf
- ./src/display.c:795 [error] - Memory leak: colors
- ./src/imageext.c:142 [error] - Resource leak: fp
- ./src/pixelarray.c:816 [possible error] - Memory leak: valpixels
- ./src/surface.c:520 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 529
- ./src/surface.c:577 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 587
- ./src/surface.c:747 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 753
- ./src/surface.c:782 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 788
- ./src/surface.c:804 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 812
- ./src/surface.c:864 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 871
- ./src/surface.c:1640 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 1648
- ./src/surface.c:1786 [error] - Possible null pointer dereference: surf - otherwise it is redundant to check if surf is null at line 1801
- ./src/transform.c:1592 [error] - Deallocating a deallocated pointer: xidx0
- ./src/transform.c:1593 [error] - Deallocating a deallocated pointer: xmult0
- ./src/transform.c:1594 [error] - Deallocating a deallocated pointer: xmult1
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:01:02 +0000, based on results by cppcheck 1.41-modif