diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-09-08 18:52:09 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-09-08 18:52:09 +0000 |
commit | 0fb05c330d370980ddb47427b95a5af6b9c3ec7a (patch) | |
tree | 6c7be822e3df54ddf5b581b431218b99cde61820 /imap | |
parent | 7b56fe2279f890ea43547c1be50cce1beb59b9c9 (diff) |
Fix a silly little IMAP bug. From Daniel Jacobowitz <dan@debian.org>.
Diffstat (limited to 'imap')
-rw-r--r-- | imap/imap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/imap/imap.c b/imap/imap.c index 32399722..0562019e 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -622,7 +622,9 @@ int imap_open_mailbox (CONTEXT* ctx) return 0; fail: - idata->state = IMAP_AUTHENTICATED; + if(idata) + idata->state = IMAP_AUTHENTICATED; + FREE (&mx.mbox); return -1; } |