diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c index 2db082ccc1..dc4df8d78d 100644 --- a/src/qemu/qemu_blockjob.c +++ b/src/qemu/qemu_blockjob.c @@ -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); }