]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Fix the use-after-free memory bug
authorOsier Yang <jyang@redhat.com>
Tue, 20 Aug 2013 09:08:49 +0000 (17:08 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 21 Aug 2013 09:28:15 +0000 (17:28 +0800)
commit4140dbedd9d2733b2beb1fda0878ad742f1122d2
tree421f256e8ccc3bac84e669c4bd66801d8c24a5c4
parentb8a0103d45e8f82a6f66f3334b24d6deb99d7521
storage: Fix the use-after-free memory bug

Introduced by commit e0139e30444. virStorageVolDefFree free'ed the
pointers that are still used by the added volume object, this changes
it back to VIR_FREE.
src/storage/storage_driver.c