Re: [libvirt PATCH 3/3] qemuProcessReconnect: clear 'oldjob'

2020-09-14 Thread Ján Tomko
On a Monday in 2020, Ján Tomko wrote: After we started copying the privateData pointer in qemuDomainObjRestoreJob, we should also free them once we're done with them. Register the clear function and use g_auto. Also add a check for job->cb to qemuDomainObjClearJob, to prevent freeing an uninitia

[libvirt PATCH 3/3] qemuProcessReconnect: clear 'oldjob'

2020-09-14 Thread Ján Tomko
After we started copying the privateData pointer in qemuDomainObjRestoreJob, we should also free them once we're done with them. Register the clear function and use g_auto. Also add a check for job->cb to qemuDomainObjClearJob, to prevent freeing an uninitialized job. https://bugzilla.redhat.com/