Free m_global_rc_path

This commit is contained in:
Pan7 2017-04-05 16:29:02 +02:00
parent 16453c6ac2
commit 766315cf85

View file

@ -527,9 +527,16 @@ void LoadTexdefPref( texdef_t* pTexdef, const char* pName );
PrefsDlg (); PrefsDlg ();
virtual ~PrefsDlg (){ virtual ~PrefsDlg (){
if ( m_global_rc_path ) {
g_string_free( m_global_rc_path, true );
}
if ( m_rc_path ) {
g_string_free( m_rc_path, true ); g_string_free( m_rc_path, true );
}
if ( m_inipath ) {
g_string_free( m_inipath, true ); g_string_free( m_inipath, true );
} }
}
/*! /*!
path for global settings path for global settings