storage: avoid null deref and leak on failure
Detected by clang. NULL deref added in commit 343a27af (Mar 11), but leak of voldef present since commit 2cd9b2d8 (Apr 09). * src/storage/storage_driver.c (storageVolumeCreateXML): Don't leak voldef or dereference null volobj.
Showing
想要评论请 注册 或 登录