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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux