mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix _output_field crash from field_id free with DEBUG_MEM. (Phillip Susi)
This commit is contained in:
parent
dd5b5fb794
commit
ef3d8e18d3
@ -1,5 +1,6 @@
|
||||
Version 1.02.58 -
|
||||
===================================
|
||||
Fix _output_field crash from field_id free with DEBUG_MEM. (1.02.57)
|
||||
|
||||
Version 1.02.57 - 8th November 2010
|
||||
===================================
|
||||
|
@ -929,7 +929,7 @@ static int _output_field(struct dm_report *rh, struct dm_report_field *field)
|
||||
return 0;
|
||||
}
|
||||
|
||||
free(field_id);
|
||||
dm_free(field_id);
|
||||
|
||||
if (!dm_pool_grow_object(rh->mem, "=", 1)) {
|
||||
log_error("dm_report: Unable to extend output line");
|
||||
|
Loading…
Reference in New Issue
Block a user