1
0
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:
Alasdair Kergon 2010-11-19 13:17:27 +00:00
parent dd5b5fb794
commit ef3d8e18d3
2 changed files with 2 additions and 1 deletions

View File

@ -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
===================================

View File

@ -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");