Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168567546
D44778.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
423 B
Referenced Files
None
Subscribers
None
D44778.diff
View Options
diff --git a/sys/dev/sound/pci/hda/hdacc.c b/sys/dev/sound/pci/hda/hdacc.c
--- a/sys/dev/sound/pci/hda/hdacc.c
+++ b/sys/dev/sound/pci/hda/hdacc.c
@@ -539,9 +539,10 @@
struct hdacc_softc *codec = device_get_softc(dev);
int error;
- error = device_delete_children(dev);
+ if ((error = device_delete_children(dev)) != 0)
+ return (error);
free(codec->fgs, M_HDACC);
- return (error);
+ return (0);
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 30, 1:41 AM (7 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37556841
Default Alt Text
D44778.diff (423 B)
Attached To
Mode
D44778: snd_hda: fix "duplicated free" on module unloading
Attached
Detach File
Event Timeline
Log In to Comment