[Libguestfs] [PATCH v4 0/3] btrfs: use CLEANUP_FREE_STRING_LIST for list free

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Wed Jun 17 08:19:30 UTC 2015


As Pino's comment, we should take advantage of
macro CLEANUP_FREE_STRING_LIST

v4: remove some redundant strdup
v3: fix test case failure
v2: properly initialize lines

Chen Hanxiao (3):
  do_btrfs_qgroup_show: fix a bad return value
  do_btrfs_subvolume_list: fix a bad return value
  btrfs: use CLEANUP_FREE_STRING_LIST for list free

 daemon/btrfs.c | 70 +++++++++++++++++++++++++++++++---------------------------
 1 file changed, 37 insertions(+), 33 deletions(-)

-- 
2.1.0




More information about the Libguestfs mailing list