2009-02-27 Vladimir Serbinenko <phcoder@gmail.com>
Don't leak in SCSI code. * disk/scsi.c (grub_scsi_close): free `scsi'.
This commit is contained in:
parent
4b6bf4f97c
commit
6e8c9c3a87
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Don't leak in SCSI code.
|
||||
* disk/scsi.c (grub_scsi_close): free `scsi'.
|
||||
|
||||
2009-02-27 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* loader/i386/pc/multiboot.c: Move from here ...
|
||||
|
|
|
@ -312,7 +312,8 @@ grub_scsi_close (grub_disk_t disk)
|
|||
grub_scsi_t scsi;
|
||||
|
||||
scsi = disk->data;
|
||||
return scsi->dev->close (scsi);
|
||||
scsi->dev->close (scsi);
|
||||
grub_free (scsi);
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
|
|
Loading…
Reference in a new issue