Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145218382
D55069.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
300 B
Referenced Files
None
Subscribers
None
D55069.diff
View Options
diff --git a/sys/dev/vmm/vmm_dev.c b/sys/dev/vmm/vmm_dev.c
--- a/sys/dev/vmm/vmm_dev.c
+++ b/sys/dev/vmm/vmm_dev.c
@@ -876,8 +876,7 @@
free(dsc, M_VMMDEV);
}
- if (sc->vm != NULL)
- vm_destroy(sc->vm);
+ vm_destroy(sc->vm);
chgvmmcnt(sc->ucred->cr_ruidinfo, -1, 0);
crfree(sc->ucred);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 18, 5:38 AM (8 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28437105
Default Alt Text
D55069.diff (300 B)
Attached To
Mode
D55069: vmm: Remove an unneeded NULL pointer check
Attached
Detach File
Event Timeline
Log In to Comment