Commit a2e6da18 authored by Brendan Cully's avatar Brendan Cully

Handle keepalive failure when changing folders.

There are probably many other places where this kind of thing
could happen though. See #3028.
parent 96b71b6c
......@@ -1111,6 +1111,10 @@ int mutt_index_menu (void)
}
mutt_str_replace (&CurrentFolder, buf);
/* keepalive failure in mutt_enter_fname may kill connection. #3028 */
if (Context && !Context->path)
FREE (&Context);
if (Context)
{
int check;
......
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