mirror of https://gitee.com/openkylin/libvirt.git
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