gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Fwd: New Defects reported by Coverity Scan for GlusterFS


From: Lalatendu Mohanty
Subject: [Gluster-devel] Fwd: New Defects reported by Coverity Scan for GlusterFS
Date: Tue, 18 Mar 2014 11:25:24 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0




-------- Original Message --------
Subject: New Defects reported by Coverity Scan for GlusterFS
Date: Mon, 17 Mar 2014 22:19:17 -0700
From: address@hidden


Hi,


Please find the latest report on new defect(s) introduced to GlusterFS found with Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1192875:  Resource leak  (RESOURCE_LEAK)
/xlators/storage/bd/src/bd.c: 688 in bd_open()


________________________________________________________________________________________________________
*** CID 1192875:  Resource leak  (RESOURCE_LEAK)
/xlators/storage/bd/src/bd.c: 688 in bd_open()
682     
683             /* open posix equivalant of this file, fd needed for fd related
684                operations like fsetxattr, ftruncate etc */
685             STACK_WIND (frame, bd_open_cbk, FIRST_CHILD(this),
686                         FIRST_CHILD(this)->fops->open, loc, flags, fd, xdata);
687     
>>>     CID 1192875:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "devpath" going out of scope leaks the storage it points to.
688             return 0;
689     out:
690             BD_STACK_UNWIND (open, frame, -1, ret, fd, NULL);
691     
692             GF_FREE (devpath);
693             if (ret) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/987?tab=Overview

To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py






reply via email to

[Prev in Thread] Current Thread [Next in Thread]