Changeset 23fddad for global.c


Ignore:
Timestamp:
Oct 23, 2009, 11:01:30 PM (12 years ago)
Author:
Karl Ramm <kcr@1ts.org>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8590774
Parents:
52761cc
git-author:
Karl Ramm <kcr@1ts.org> (09/30/09 10:12:27)
git-committer:
Karl Ramm <kcr@1ts.org> (10/23/09 23:01:30)
Message:
refactor & rename filter creation & storage management

filter_init_fromstring -> filter_new_fromstring
filter_init -> filter_new
filter_free -> filter_delete

Every time owl_filter_init and owl_filter_init_fromstring were called,
there was a call to malloc right above them;  Conversely, after every
owl_filter_free there needed to be a call to owl_free (and sometimes
there wasn't).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r52761cc r23fddad  
    635635    f=owl_list_get_element(&(g->filterlist), i);
    636636    if (!strcmp(name, owl_filter_get_name(f))) {
    637       owl_filter_free(f);
     637      owl_filter_delete(f);
    638638      owl_list_remove_element(&(g->filterlist), i);
    639639      break;
Note: See TracChangeset for help on using the changeset viewer.