mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
qemu: blockjob: Use 'g_free' in qemuBlockJobDataDispose
Prepare the function for addition of new members to clean. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
0b82b13adc
commit
509c6e5140
@ -82,8 +82,8 @@ qemuBlockJobDataDispose(void *obj)
|
||||
if (job->type == QEMU_BLOCKJOB_TYPE_CREATE)
|
||||
virObjectUnref(job->data.create.src);
|
||||
|
||||
VIR_FREE(job->name);
|
||||
VIR_FREE(job->errmsg);
|
||||
g_free(job->name);
|
||||
g_free(job->errmsg);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user