1
0
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:
Zdenek Kabelac 2016-03-01 11:40:53 +01:00
parent b2d819eafa
commit 8173c2ff9a
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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;