Commit 5e604233 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

dialog: don't clear array when changing callbacks

This array will be clear by dialog owners.
This fix a crash when a dialog owner release dialogs that were invalidated.
parent 5fc8c328
......@@ -237,7 +237,6 @@ dialog_clear_all_locked(vlc_dialog_provider *p_provider)
vlc_array_item_at_index(&p_provider->dialog_array, i);
dialog_cancel_locked(p_provider, p_id);
}
vlc_array_clear(&p_provider->dialog_array);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment