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