mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Remove double free in virHostdevManagerDispose
The object itself is freed by virObjectUnref.
This commit is contained in:
parent
74e86b6b25
commit
1fc4846b09
@ -83,8 +83,6 @@ virHostdevManagerDispose(void *obj)
|
||||
virObjectUnref(hostdevMgr->activeUSBHostdevs);
|
||||
virObjectUnref(hostdevMgr->activeSCSIHostdevs);
|
||||
VIR_FREE(hostdevMgr->stateDir);
|
||||
|
||||
VIR_FREE(hostdevMgr);
|
||||
}
|
||||
|
||||
static virHostdevManagerPtr
|
||||
|
Loading…
Reference in New Issue
Block a user