fixed another minor memleak (yeah i'm playing with valgrind ;) )
* include/GParted_Core.h, src/GParted_Core.cc: fixed another minor memleak (yeah i'm playing with valgrind ;) )
This commit is contained in:
parent
2e1880ee66
commit
91c4ca2b45
|
@ -1,3 +1,9 @@
|
|||
2006-03-28 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* include/GParted_Core.h,
|
||||
src/GParted_Core.cc: fixed another minor memleak (yeah i'm playing
|
||||
with valgrind ;) )
|
||||
|
||||
2006-03-28 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/GParted_Core.cc: it appeared i had to free the result of
|
||||
|
|
|
@ -43,6 +43,7 @@ class GParted_Core
|
|||
{
|
||||
public:
|
||||
GParted_Core() ;
|
||||
~GParted_Core() ;
|
||||
void find_supported_filesystems() ;
|
||||
void set_user_devices( const std::vector<Glib::ustring> & user_devices ) ;
|
||||
void get_devices( std::vector<Device> & devices ) ;
|
||||
|
|
|
@ -1257,5 +1257,10 @@ PedExceptionOption GParted_Core::ped_exception_handler( PedException * e )
|
|||
|
||||
return PED_EXCEPTION_UNHANDLED ;
|
||||
}
|
||||
|
||||
GParted_Core::~GParted_Core()
|
||||
{
|
||||
delete p_filesystem ;
|
||||
}
|
||||
|
||||
} //GParted
|
||||
|
|
Loading…
Reference in New Issue