ACK.
>
> virDomainObjPtr virDomainAssignDef(virCapsPtr caps,
...
> } else {
> - if (domain->newDef)
> - virDomainDefFree(domain->newDef);
> + virDomainDefFree(domain->newDef);
And nice removal of useless-if-before-free.
Thanks, I rebased the path to Jim's cleanup and pushed.
Jirka