Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165054332
D44778.id136991.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.id136991.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
Thu, Aug 6, 2:52 PM (10 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36122750
Default Alt Text
D44778.id136991.diff (423 B)
Attached To
Mode
D44778: snd_hda: fix "duplicated free" on module unloading
Attached
Detach File
Event Timeline
Log In to Comment