/[imapfilter]/imapfilter/destroy.c
ViewVC logotype

Diff of /imapfilter/destroy.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by lefcha, Thu Jul 31 15:46:02 2003 UTC revision 1.2 by lefcha, Fri Aug 1 13:30:04 2003 UTC
# Line 10  extern account_t *accounts; Line 10  extern account_t *accounts;
10  extern mboxgrp_t *mboxgrps;  extern mboxgrp_t *mboxgrps;
11  extern filter_t *filters;  extern filter_t *filters;
12    
13    extern account_t *cur_acct;
14    extern filter_t *cur_fltr;
15    
16    
17  /*  /*
18   * Free allocated memory of all data structures.   * Free allocated memory of all data structures.
# Line 19  destroy_all(void) Line 22  destroy_all(void)
22  {  {
23          destroy_accounts(accounts);          destroy_accounts(accounts);
24          accounts = NULL;          accounts = NULL;
25            cur_acct = NULL;
26          destroy_filters(filters);          destroy_filters(filters);
27          filters = NULL;          filters = NULL;
28            cur_fltr = NULL;
29          destroy_mboxgrps(mboxgrps);          destroy_mboxgrps(mboxgrps);
30          mboxgrps = NULL;          mboxgrps = NULL;
31  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26