]> sourceware.org Git - lvm2.git/commitdiff
coverity: missing error path
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 1 Mar 2016 10:40:53 +0000 (11:40 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 1 Mar 2016 13:02:43 +0000 (14:02 +0100)
WHATS_NEW
tools/toollib.c

index 507e028d435bd47edf0c0e3149e79e56f724a5dc..349445539c8cafae847c872e1cf68e225802edcd 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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
index dd5ece3eda0a033465b5fd73799ac3360f951e6d..dbb6d40243ef01c8d449fba29fab53fd0d2a0247 100644 (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;
This page took 0.056766 seconds and 5 git commands to generate.