Skip to content
Commit 7efd1e79 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Fix some crashes in imapx_command_start_next().

Start the next CamelIMAPXCommand before unreferencing the current one.

imapx_command_start() calls camel_imapx_command_close() on the current
command before initiating the next command, but imapx_command_start()
is being handed a potentially dangling CamelIMAPXCommand pointer.

This is most certainly causing of all the camel_imapx_command_close()
crashes, and likely a good number of memory corruption crashes as well.
parent f8e6e4f4
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