[Parted-commits] GNU Parted Official Repository: Changes to 'stable-1.8.x'
Otavio Salvador
otavio at alioth.debian.org
Sun Apr 27 00:59:06 UTC 2008
parted/parted.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 503ce53bc3f0fa6806479cce51228fdfd16876f8
Author: Matt Davis <mattdavis9 at gmail.com>
Date: Sat Apr 26 20:31:39 2008 -0400
Corrected a small memory leak when displaying partition information
Deallocated a very small memory allocation that occurs in a for loop.
This occurred during output of partition numbers.
(cherry picked from commit b56d69cd7d0bf5ed90166e6cb701971ddfda2ab7)
diff --git a/parted/parted.c b/parted/parted.c
index 738151b..94d07e5 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -1486,6 +1486,7 @@ do_print (PedDevice** dev)
//PED_ASSERT (row.cols == caption.cols)
table_add_row_from_strlist (table, row);
str_list_destroy (row);
+ ped_free (tmp);
}
table_rendered = table_render (table);
More information about the Parted-commits
mailing list