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:
53f8700
)
parted: plug memory leak
author
Petr Uzel
<petr.uzel@suse.cz>
Wed, 26 May 2010 12:10:04 +0000
(14:10 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Wed, 26 May 2010 12:14:15 +0000
(14:14 +0200)
* parted/parted.c (_done_messages): Free unit_msg.
parted/parted.c
patch
|
blob
|
history
diff --git
a/parted/parted.c
b/parted/parted.c
index
edf3249
..
04d765c
100644
(file)
--- a/
parted/parted.c
+++ b/
parted/parted.c
@@
-2318,6
+2318,7
@@
static void
_done_messages ()
{
free (flag_msg);
+ free (unit_msg);
free (mkfs_fs_type_msg);
free (mkpart_fs_type_msg);
free (resize_fs_type_msg);