qemu: rename qemuDomainObjFreeJob -> qemuDomainObjClearJob

This function does not free the job.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Ján Tomko 2020-09-14 13:20:35 +02:00
parent cfd4adb51e
commit ce66f9724c
3 changed files with 3 additions and 3 deletions

View File

@ -1859,7 +1859,7 @@ qemuDomainObjPrivateFree(void *data)
qemuDomainObjPrivateDataClear(priv);
virObjectUnref(priv->monConfig);
qemuDomainObjFreeJob(&priv->job);
qemuDomainObjClearJob(&priv->job);
VIR_FREE(priv->lockState);
VIR_FREE(priv->origname);

View File

@ -246,7 +246,7 @@ qemuDomainObjRestoreJob(virDomainObjPtr obj,
}
void
qemuDomainObjFreeJob(qemuDomainJobObjPtr job)
qemuDomainObjClearJob(qemuDomainJobObjPtr job)
{
qemuDomainObjResetJob(job);
qemuDomainObjResetAsyncJob(job);

View File

@ -274,7 +274,7 @@ int qemuDomainJobInfoToParams(qemuDomainJobInfoPtr jobInfo,
bool qemuDomainTrackJob(qemuDomainJob job);
void qemuDomainObjFreeJob(qemuDomainJobObjPtr job);
void qemuDomainObjClearJob(qemuDomainJobObjPtr job);
int
qemuDomainObjInitJob(qemuDomainJobObjPtr job,