[PATCH] * libparted/arch/linux.c (_disk_sync_part_table): Plug an obvious leak.
Jim Meyering
meyering at redhat.com
Tue Jun 24 13:39:10 UTC 2008
---
libparted/arch/linux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 4c9a2d3..29be37d 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -2240,6 +2240,7 @@ _disk_sync_part_table (PedDisk* disk)
}
}
+ free (errnums);
return ret;
}
--
1.5.6.58.g8c87e
More information about the parted-devel
mailing list