Message ID | 567AE389.1030803@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/partitions/ldm.c b/block/partitions/ldm.c index 856658a..3118d24 100644 --- a/block/partitions/ldm.c +++ b/block/partitions/ldm.c @@ -1512,7 +1512,7 @@ int ldm_partition(struct parsed_partitions *state) ldb = kmalloc (sizeof (*ldb), GFP_KERNEL); if (!ldb) - goto out; + return -1; /* Parse and check privheads. */ if (!ldm_validate_privheads(state, &ldb->ph))