diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-11-19 13:17:27 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-11-19 13:17:27 +0000 |
commit | ef3d8e18d35da1db9ae4b481ae2e0befb1109104 (patch) | |
tree | 1b0b963b671d1d5f6c2d2c4b973a208006729068 /libdm/libdm-report.c | |
parent | dd5b5fb7949a5951aae0ec6c5c5252bda118863b (diff) | |
download | lvm2-ef3d8e18d35da1db9ae4b481ae2e0befb1109104.tar.gz lvm2-ef3d8e18d35da1db9ae4b481ae2e0befb1109104.tar.xz lvm2-ef3d8e18d35da1db9ae4b481ae2e0befb1109104.zip |
Fix _output_field crash from field_id free with DEBUG_MEM. (Phillip Susi)
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r-- | libdm/libdm-report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index d5e94e6f..9b8e3c18 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"); |