summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-08-27 09:45:08 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-08-27 09:45:08 +0000
commit561d493b9e96f5853e013ab81a0dd86188b2182d (patch)
tree574ffd3af2b46e7782833187c5cfd568623f7e41 /perl-install/c
parenta12c0631defc0f0859299883a618410715e1dead (diff)
downloaddrakx-backup-do-not-use-561d493b9e96f5853e013ab81a0dd86188b2182d.tar
drakx-backup-do-not-use-561d493b9e96f5853e013ab81a0dd86188b2182d.tar.gz
drakx-backup-do-not-use-561d493b9e96f5853e013ab81a0dd86188b2182d.tar.bz2
drakx-backup-do-not-use-561d493b9e96f5853e013ab81a0dd86188b2182d.tar.xz
drakx-backup-do-not-use-561d493b9e96f5853e013ab81a0dd86188b2182d.zip
diskdrake: fix for libparted 1.9 (#52991)
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pl2
1 files changed, 1 insertions, 1 deletions
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)