dinhviethoa/libetpan — pull request #32 by dsachitano (2012-04-03 00:32:56+00:00)
Title: check for null mailstream pointer in mailstream_close

if you have allocated a mailimap* and pass it to mailimap_logout without having connected first, it may not have a imap_stream and it will crash in mailstream_close.