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

Eric Blake eblake at redhat.com
Wed Apr 13 22:07:08 UTC 2011


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(-)

-- 
1.7.4.2




More information about the libvir-list mailing list