diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2008-11-22 15:38:24 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2008-11-22 15:38:24 +0000 |
| commit | f4088192d451d12d4eb0b48ad5c6ba0d568f2a87 (patch) | |
| tree | 858ac4bb5bec4890d2d07d12aad8059cc0090fc7 | |
| parent | e3ae9f65c231931da4b69d521c75f59f33da441a (diff) | |
Notes
| -rw-r--r-- | sys/dev/sound/pci/hda/hdac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 74a1d75fd56a..c4c96ad7bacd 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -7578,9 +7578,9 @@ hdac_detach(device_t dev) return (error); for (i = 0; i < devcount; i++) { if ((error = device_delete_child(dev, devlist[i])) != 0) { - free(devlist, M_TEMP); - return (error); - } + free(devlist, M_TEMP); + return (error); + } } free(devlist, M_TEMP); |
