mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
udev: free fd before return in scsi_serial.c
This commit is contained in:
parent
0820a4f0f6
commit
ab261e1226
@ -921,7 +921,8 @@ int scsi_get_serial(struct udev *udev,
|
||||
}
|
||||
} else if (page_code != 0x00) {
|
||||
log_debug("%s: unsupported page code 0x%d\n", dev_scsi->kernel, page_code);
|
||||
return 1;
|
||||
retval = 1;
|
||||
goto completed;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user