From 561d493b9e96f5853e013ab81a0dd86188b2182d Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 27 Aug 2009 09:45:08 +0000 Subject: diskdrake: fix for libparted 1.9 (#52991) --- perl-install/NEWS | 2 ++ perl-install/c/stuff.xs.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 665717bf0..64ffef023 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -6,6 +6,8 @@ o added weakness check for root password - drakboot o fix crash bug #52997 +- diskdrake + o fix for libparted 1.9 (#52991) Version 12.45 - 18 August 2009 diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index b323eb9f9..66971600d 100644 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -545,7 +545,7 @@ get_disk_partitions(char * device_path) char *path = ped_partition_get_path(part); sprintf(desc, "%d ", part->num); sprintf(desc+strlen(desc), "%s ", path); - ped_free(path); + free(path); if(part->fs_type) strcat(desc, part->fs_type->name); if(part->type == 0x0) -- cgit v1.2.1