mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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->activeUSBHostdevs);
|
||||||
virObjectUnref(hostdevMgr->activeSCSIHostdevs);
|
virObjectUnref(hostdevMgr->activeSCSIHostdevs);
|
||||||
VIR_FREE(hostdevMgr->stateDir);
|
VIR_FREE(hostdevMgr->stateDir);
|
||||||
|
|
||||||
VIR_FREE(hostdevMgr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static virHostdevManagerPtr
|
static virHostdevManagerPtr
|
||||||
|
Loading…
Reference in New Issue
Block a user