OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c092d19
)
Corrected a small memory leak when displaying partition information
author
Matt Davis
<mattdavis9@gmail.com>
Sun, 27 Apr 2008 00:31:39 +0000
(20:31 -0400)
committer
Otavio Salvador
<otavio@ossystems.com.br>
Sun, 27 Apr 2008 00:47:55 +0000
(21:47 -0300)
Deallocated a very small memory allocation that occurs in a for loop.
This occurred during output of partition numbers.
parted/parted.c
patch
|
blob
|
history
diff --git
a/parted/parted.c
b/parted/parted.c
index
46999f5
..
723e8eb
100644
(file)
--- a/
parted/parted.c
+++ b/
parted/parted.c
@@
-1496,6
+1496,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);