mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
iscsiadm: Fix a resource leak
Detected by Coverity. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6380 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -240,7 +240,7 @@ out_report:
|
||||
}
|
||||
|
||||
out_close:
|
||||
if (fd > 0)
|
||||
if (fd >= 0)
|
||||
close(fd);
|
||||
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user