[libvirt] [PATCH 0/4] more phyp refactoring

Eric Blake eblake at redhat.com
Thu Apr 14 15:39:44 UTC 2011


On 04/13/2011 04:07 PM, Eric Blake wrote:
> Phyp still had several memory leaks and in general some bad
> copy-and-paste design.  This series consolidates some common
> patterns into simpler helpers, avoiding leaks in the process.
> 
> Eric Blake (4):
>   phyp: prefer memcpy over memmove when legal
>   phyp: avoid memory leaks in return values
>   phyp: avoid memory leaks in command values
>   phyp: another simplification
> 
>  src/phyp/phyp_driver.c | 1128 +++++++-----------------------------------------
>  1 files changed, 163 insertions(+), 965 deletions(-)

Serves me right for thinking Matthias' cleanups had already been
applied.  Now I get to rebase, with lots of conflicts :)

-- 
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/20110414/e7b0ae9e/attachment-0001.sig>


More information about the libvir-list mailing list