mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
coverity: missing error path
This commit is contained in:
parent
b2d819eafa
commit
8173c2ff9a
@ -1,5 +1,6 @@
|
||||
Version 2.02.145 -
|
||||
=====================================
|
||||
Fix error path when pvcreate allocation fails (2.02.144).
|
||||
Display [unknown] instead of blank for unknown VG names in pvs output.
|
||||
|
||||
Version 2.02.144 - 26th February 2016
|
||||
|
@ -4406,6 +4406,7 @@ do_command:
|
||||
if (!(pvl = dm_pool_alloc(cmd->mem, sizeof(*pvl)))) {
|
||||
log_error("alloc pvl failed");
|
||||
dm_list_move(&pp->arg_fail, &pd->list);
|
||||
continue;
|
||||
}
|
||||
|
||||
pv_name = pd->name;
|
||||
|
Loading…
Reference in New Issue
Block a user