[libvirt] [PATCH] storage: Fix the memory leak
Martin Kletzander
mkletzan at redhat.com
Thu Jan 23 11:06:08 UTC 2014
On Thu, Jan 23, 2014 at 06:23:32PM +0800, Osier Yang wrote:
> The return value of virGetFCHostNameByWWN is a strdup'ed string.
> Also add comments to declare that the caller should take care of
> freeing it.
> ---
> src/storage/storage_backend_scsi.c | 15 ++++++++++-----
> src/util/virutil.c | 5 ++++-
> 2 files changed, 14 insertions(+), 6 deletions(-)
>
ACK,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140123/c66904c2/attachment-0001.sig>
More information about the libvir-list
mailing list