-------- Original Message --------
Subject:        New Defects reported by Coverity Scan for GlusterFS
Date:   Mon, 17 Mar 2014 22:19:17 -0700
From:   scan-ad...@coverity.com



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





_______________________________________________
Gluster-devel mailing list
Gluster-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel

Reply via email to