|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
--- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500
|
|
|
|
|
+++ src/GParted_Core.cc.new 2007-10-30 00:29:11.000000000 -0400
|
|
|
|
|
@@ -487,12 +487,15 @@
|
|
|
|
|
+++ src/GParted_Core.cc.new 2007-11-22 00:01:43.000000000 -0500
|
|
|
|
|
@@ -487,19 +487,23 @@
|
|
|
|
|
while ( getline( proc_partitions, line ) )
|
|
|
|
|
if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 )
|
|
|
|
|
{
|
|
|
|
@ -17,9 +17,9 @@
|
|
|
|
|
line != c_str )
|
|
|
|
|
{
|
|
|
|
|
//because we can make no assumption about which path libparted will detect
|
|
|
|
|
@@ -500,6 +503,8 @@
|
|
|
|
|
//we add all combinations.
|
|
|
|
|
alternate_paths[ c_str ] = line ;
|
|
|
|
|
alternate_paths[ line ] = c_str ;
|
|
|
|
|
- alternate_paths[ line ] = c_str ;
|
|
|
|
|
}
|
|
|
|
|
+ if ( real_path )
|
|
|
|
|
+ free( real_path ) ;
|
|
|
|
|