[libvirt] [PATCH] daemon: Don't try to free an unsigned int in error paths
Eric Blake
eblake at redhat.com
Fri Apr 22 16:17:01 UTC 2011
On 04/22/2011 10:11 AM, Matthias Bolte wrote:
> ---
> daemon/remote.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/daemon/remote.c b/daemon/remote.c
> index 54fef64..1c98bba 100644
> --- a/daemon/remote.c
> +++ b/daemon/remote.c
> @@ -3681,7 +3681,7 @@ remoteDispatchListNetworks(struct qemud_server *server ATTRIBUTE_UNUSED,
> cleanup:
> if (rv < 0) {
> remoteDispatchError(rerr);
> - VIR_FREE(ret->names.names_len);
> + VIR_FREE(ret->names.names_val);
And to think I missed those in the huge patch. Oops.
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110422/49d42629/attachment-0001.sig>
More information about the libvir-list
mailing list