Changeset 75c7e8e


Ignore:
Timestamp:
Mar 7, 2010, 10:26:34 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5294cbf
Parents:
5cbc929
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 02:28:16)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:34)
Message:
Rename owl_filterelement_free to owl_filterelement_cleanup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    r40d22cf r75c7e8e  
    114114  return fe;
    115115err:
    116   owl_filterelement_free(fe);
     116  owl_filterelement_cleanup(fe);
    117117  owl_free(fe);
    118118  return NULL;
     
    152152err:
    153153  if(op1) {
    154     owl_filterelement_free(op1);
     154    owl_filterelement_cleanup(op1);
    155155    owl_free(op1);
    156156  }
     
    262262    return;
    263263  if (f->root) {
    264     owl_filterelement_free(f->root);
     264    owl_filterelement_cleanup(f->root);
    265265    owl_free(f->root);
    266266  }
  • filterelement.c

    r5cbc929 r75c7e8e  
    324324}
    325325
    326 void owl_filterelement_free(owl_filterelement *fe)
     326void owl_filterelement_cleanup(owl_filterelement *fe)
    327327{
    328328  if (fe->field) owl_free(fe->field);
    329329  if (fe->left) {
    330     owl_filterelement_free(fe->left);
     330    owl_filterelement_cleanup(fe->left);
    331331    owl_free(fe->left);
    332332  }
    333333  if (fe->right) {
    334     owl_filterelement_free(fe->right);
     334    owl_filterelement_cleanup(fe->right);
    335335    owl_free(fe->right);
    336336  }
Note: See TracChangeset for help on using the changeset viewer.