[libvirt] [PATCH v2 19/32] test: Cleanup testDomainRenameCallback

Ján Tomko jtomko at redhat.com
Mon Feb 11 13:34:30 UTC 2019


On Fri, Feb 08, 2019 at 01:37:13PM -0500, John Ferlan wrote:
>Rather than have a need for old_dom_name, let's just VIR_FREE
>the old name first, then use VIR_STEAL_PTR to handle the swap
>from the old name to the new name.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>Reviewed-by: Erik Skultety <eskultet at redhat.com>
>---
> src/test/test_driver.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190211/ebbf4d3b/attachment-0001.sig>


More information about the libvir-list mailing list