[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] Possible leaks and so on
From: |
Patrick Matthäi |
Subject: |
[Gluster-devel] Possible leaks and so on |
Date: |
Mon, 22 Mar 2010 01:00:45 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100306 Iceowl/1.0b1 Icedove/3.0.3 |
Hello,
I have checked glusterfs 3.0.3 with cppcheck and it gave me the
following errors (which must not be true at all):
[./libglusterfs/src/dict.c:179]: (error) Memory leak: newdata
[./libglusterfs/src/dict.c:251]: (error) Memory leak: pair
[./libglusterfs/src/fd.c:464]: (error) Possible null pointer
dereference: fd - otherwise it is redundant to check if fd is null at
line 466
[./libglusterfs/src/y.tab.c:1743]: (error) Memory leak: node
[./libglusterfs/src/y.tab.c:2067]: (error) Memory leak: cmd
[./xlators/protocol/client/src/client-protocol.c:3434]: (error) Possible
null pointer dereference: iobuf - otherwise it is redundant to check if
iobuf is null at line 3505
[./xlators/protocol/server/src/server-protocol.c:324]: (error) Possible
null pointer dereference: state - otherwise it is redundant to check if
state is null at line 344
Could you please have a look at them?
--
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
E-Mail: address@hidden
address@hidden
Comment:
Always if we think we are right,
we were maybe wrong.
*/
- [Gluster-devel] Possible leaks and so on,
Patrick Matthäi <=