]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: disk: Fix segfault creating volume without target path
authorCole Robinson <crobinso@redhat.com>
Fri, 10 Jul 2009 01:51:36 +0000 (21:51 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 16 Jul 2009 16:52:51 +0000 (12:52 -0400)
commit12a6278135f48796bc9f0df7c4558847fa88c1e6
tree4d9e3e901bb4e2b34af5c5e2cfc27eb4328c538d
parenta3711708f782190ebb00bd22461316beaaef762b
storage: disk: Fix segfault creating volume without target path

Remove unneeded target path duplication, which could carelessly dereference
NULL. Make it clear where 'key' is actually filled in.
src/storage_backend_disk.c