]> sourceware.org Git - lvm2.git/commitdiff
Fix _output_field crash from field_id free with DEBUG_MEM. (Phillip Susi)
authorAlasdair Kergon <agk@redhat.com>
Fri, 19 Nov 2010 13:17:27 +0000 (13:17 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 19 Nov 2010 13:17:27 +0000 (13:17 +0000)
WHATS_NEW_DM
libdm/libdm-report.c

index 1bc4019e78b17cf62112cec03770ecd9541bcf32..1f3b3ea0800d9f633d342ee84b4052d3f4ed8460 100644 (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
 ===================================
index d5e94e6f726f71764bde5c8332c39f3b36c228ef..9b8e3c18ac9e0611d45ee4f55fbcfa79a1ed5a63 100644 (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");
This page took 0.035879 seconds and 5 git commands to generate.