diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 1bc4019e7..1f3b3ea08 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -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 =================================== diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index d5e94e6f7..9b8e3c18a 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -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");