[libvirt] [PATCH v4 2/2] daemon: Remove unnecessary goto error

Martin Kletzander mkletzan at redhat.com
Tue Apr 25 09:33:14 UTC 2017


On Mon, Apr 24, 2017 at 12:05:25PM +0800, Wang King wrote:
>Free the dst is unnecessary if the VIR_STRDUP fails, and therefore we need to
>remove the error label.
>---
> daemon/remote.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>

Nice cleanup; I'll tweak the commit message a tiny bit and push it in a while.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170425/60db494e/attachment-0001.sig>


More information about the libvir-list mailing list