- Don't free/delete stuff that belongs to LibVLC - closes #1397 for real.
And this has nothing to do with [24331] or [24406].
char *psz_path = config_GetPsz( p_intf, "qt-filedialog-path" );
p_intf->p_sys->psz_filepath = EMPTY_STR( psz_path ) ? psz_path
: p_intf->p_libvlc->psz_homedir;
- delete psz_path;
/* Launch */
app->exec();
MainInputManager::killInstance();
config_PutPsz( p_intf, "qt-filedialog-path", p_intf->p_sys->psz_filepath );
- delete p_intf->p_sys->psz_filepath;
+ free( psz_path );
delete app;
}
VideoWidget *p_video;
- char *psz_filepath;
+ const char *psz_filepath;
QMenu * p_popup_menu;
};