Changeset 5102:9f6afccedd2f

Show
Ignore:
Timestamp:
2007-04-09 09:09:59 (21 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Null out idata->hcache when closing, and remove close from open failure (mx_close will handle it).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap.c

    r5073 r5102  
    758758 
    759759 fail: 
    760 #ifdef USE_HCACHE 
    761   mutt_hcache_close (idata->hcache); 
    762 #endif 
    763760  if (idata->state == IMAP_SELECTED) 
    764761    idata->state = IMAP_AUTHENTICATED; 
     
    13251322#ifdef USE_HCACHE 
    13261323  mutt_hcache_close (idata->hcache); 
     1324  idata->hcache = NULL; 
    13271325#endif 
    13281326  mutt_bcache_close (&idata->bcache);