Remove double free in virHostdevManagerDispose

The object itself is freed by virObjectUnref.
This commit is contained in:
Ján Tomko 2014-03-28 09:43:11 +01:00
parent 74e86b6b25
commit 1fc4846b09

View File

@ -83,8 +83,6 @@ virHostdevManagerDispose(void *obj)
virObjectUnref(hostdevMgr->activeUSBHostdevs);
virObjectUnref(hostdevMgr->activeSCSIHostdevs);
VIR_FREE(hostdevMgr->stateDir);
VIR_FREE(hostdevMgr);
}
static virHostdevManagerPtr