imap_conn_free() should call imap_reset_mailbox()

imap_conn_free() should free() .data and .out buffers