Hi, Please find the latest report on new defect(s) introduced to ceph found with Coverity Scan. 3 new defect(s) introduced to ceph found with Coverity Scan. 2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 3 of 3 defect(s) ** CID 1265561: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() ** CID 1265562: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() ** CID 1265563: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() ________________________________________________________________________________________________________ *** CID 1265561: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() 2056 pc.fail(); 2057 if (pd > 2) 2058 unlink(path); 2059 } else 2060 pc.finish(); 2061 >>> CID 1265561: Resource leak (RESOURCE_LEAK) >>> Handle variable "fd" going out of scope leaks the handle. 2062 return r; 2063 } 2064 2065 static int do_copy(librbd::Image &src, librados::IoCtx& dest_pp, 2066 const char *destname) 2067 { ________________________________________________________________________________________________________ *** CID 1265562: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() 2056 pc.fail(); 2057 if (pd > 2) 2058 unlink(path); 2059 } else 2060 pc.finish(); 2061 >>> CID 1265562: Resource leak (RESOURCE_LEAK) >>> Handle variable "sd" going out of scope leaks the handle. 2062 return r; 2063 } 2064 2065 static int do_copy(librbd::Image &src, librados::IoCtx& dest_pp, 2066 const char *destname) 2067 { ________________________________________________________________________________________________________ *** CID 1265563: Resource leak (RESOURCE_LEAK) /rbd.cc: 2062 in do_merge_diff(const char *, const char *, const char *)() 2056 pc.fail(); 2057 if (pd > 2) 2058 unlink(path); 2059 } else 2060 pc.finish(); 2061 >>> CID 1265563: Resource leak (RESOURCE_LEAK) >>> Handle variable "pd" going out of scope leaks the handle. 2062 return r; 2063 } 2064 2065 static int do_copy(librbd::Image &src, librados::IoCtx& dest_pp, 2066 const char *destname) 2067 { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/25?tab=overview To manage Coverity Scan email notifications for "ceph-devel@xxxxxxxxxxxxxxx", click http://scan.coverity.com/subscriptions/edit?email=ceph-devel%40vger.kernel.org&token=018084d671e3cc89d00dd2ccb7eb849c . -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html