Re: [PATCH] storage: Fix the memory leak

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

 



On 23/01/14 19:06, Martin Kletzander wrote:
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,

Thanks, pushed.

Osier

--
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]