[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Jim Meyering
meyering at alioth.debian.org
Wed Jul 30 11:37:43 UTC 2008
libparted/arch/linux.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 7d64d9ca3992ff6542aed9c5a2f39dde11c75e40
Author: Jim Meyering <meyering at redhat.com>
Date: Wed Jul 30 11:10:56 2008 +0200
linux.c: plug a leak
* libparted/arch/linux.c (_disk_sync_part_table): Free local, "rets".
Reported by Mike Hwang <Mike.Hwang at iqstor.com.cn>.
diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 19ddae5..75e709b 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -2240,6 +2240,7 @@ _disk_sync_part_table (PedDisk* disk)
}
}
+ free (rets);
free (errnums);
return ret;
}
More information about the Parted-commits
mailing list