]> xenbits.xensource.com Git - libvirt.git/commit
storage_conf: Improve the memory deallocation of pool def parsing
authorOsier Yang <jyang@redhat.com>
Wed, 29 May 2013 10:04:33 +0000 (18:04 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 29 May 2013 10:04:33 +0000 (18:04 +0800)
commit6afdfc8e139b7722e97ffe71c3e85393d62d8b4e
tree0add1897bb6ec5413b2d6553f4fcb76f26c3d128
parentd10cfaec3b4049dbe060ff55127fcfe46e91fa0b
storage_conf: Improve the memory deallocation of pool def parsing

Changes:
    * Free all the strings at "cleanup", instead of freeing them
      in the middle
    * Remove xmlFree
    * s/tmppath/target_path/, to make it more sensible
    * Add new goto label "error"
src/conf/storage_conf.c