Free m_global_rc_path

This commit is contained in:
Pan7 2017-04-05 16:29:02 +02:00
parent 16453c6ac2
commit 766315cf85
1 changed files with 9 additions and 2 deletions

View File

@ -527,8 +527,15 @@ void LoadTexdefPref( texdef_t* pTexdef, const char* pName );
PrefsDlg ();
virtual ~PrefsDlg (){
g_string_free( m_rc_path, true );
g_string_free( m_inipath, true );
if ( m_global_rc_path ) {
g_string_free( m_global_rc_path, true );
}
if ( m_rc_path ) {
g_string_free( m_rc_path, true );
}
if ( m_inipath ) {
g_string_free( m_inipath, true );
}
}
/*!