diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2004-01-18 10:50:40 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2004-01-18 10:50:40 +0000 |
| commit | 7c633af872312635a092d1694a046a9e0a0591e6 (patch) | |
| tree | 45a7f90939567d229806263b1c1749f66d92239e | |
| parent | 8f59277300bb5d2ed63f97655e0b30813fc5f826 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ata/ata-raid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 4ca8b2c0e19e..5d8688697eda 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -1308,10 +1308,12 @@ ar_highpoint_write_conf(struct ar_softc *rdp) sizeof(struct highpoint_raid_conf), (caddr_t)config, AR_WRITE)) { printf("ar%d: Highpoint write conf failed\n", rdp->lun); + free(config, M_AR); return -1; } } } + free(config, M_AR); return 0; } @@ -1603,10 +1605,12 @@ ar_promise_write_conf(struct ar_softc *rdp) (caddr_t)config, AR_WRITE)) { printf("ar%d: %s write conf failed\n", rdp->lun, local ? "FreeBSD" : "Promise"); + free(config, M_AR); return -1; } } } + free(config, M_AR); return 0; } |
