mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix segfault in uuid display (substitution missed during bulk change)
This commit is contained in:
parent
199e490e7d
commit
04e8cd96f3
@ -456,7 +456,7 @@ static int _uuid_disp(struct report_handle *rh, struct field *field,
|
|||||||
{
|
{
|
||||||
char *repstr = NULL;
|
char *repstr = NULL;
|
||||||
|
|
||||||
if (!(field->report_string = pool_alloc(rh->mem, 40))) {
|
if (!(repstr = pool_alloc(rh->mem, 40))) {
|
||||||
log_error("pool_alloc failed");
|
log_error("pool_alloc failed");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user