Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145306854
D54031.1777617993.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
389 B
Referenced Files
None
Subscribers
None
D54031.1777617993.diff
View Options
diff --git a/usr.sbin/sndctl/sndctl.c b/usr.sbin/sndctl/sndctl.c
--- a/usr.sbin/sndctl/sndctl.c
+++ b/usr.sbin/sndctl/sndctl.c
@@ -992,17 +992,10 @@
argv++;
}
- free_dev(dp);
-
if (show) {
- /*
- * Re-read dev to reflect new state in case we changed some
- * property.
- */
- dp = read_dev(path);
print_dev(dp);
- free_dev(dp);
}
+ free_dev(dp);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 6:46 AM (1 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28470298
Default Alt Text
D54031.1777617993.diff (389 B)
Attached To
Mode
D54031: sndctl(8): Do not free and re-open device
Attached
Detach File
Event Timeline
Log In to Comment