Changeset 5cbc929


Ignore:
Timestamp:
Mar 7, 2010, 10:26:32 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:
75c7e8e
Parents:
963b471
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 02:23:36)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:32)
Message:
Rename owl_regex_free to owl_regex_cleanup.

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

Legend:

Unmodified
Added
Removed
  • filterelement.c

    rd537350 r5cbc929  
    335335    owl_free(fe->right);
    336336  }
    337   owl_regex_free(&(fe->re));
     337  owl_regex_cleanup(&(fe->re));
    338338}
    339339
  • functions.c

    rc230bc1 r5cbc929  
    28852885  if (string && owl_regex_create_quoted(&re, string) == 0) {
    28862886    owl_global_set_search_re(&g, &re);
    2887     owl_regex_free(&re);
     2887    owl_regex_cleanup(&re);
    28882888  } else {
    28892889    owl_global_set_search_re(&g, NULL);
  • global.c

    rb3adfb5 r5cbc929  
    744744void owl_global_set_search_re(owl_global *g, const owl_regex *re) {
    745745  if (owl_regex_is_set(&g->search_re)) {
    746     owl_regex_free(&g->search_re);
     746    owl_regex_cleanup(&g->search_re);
    747747    owl_regex_init(&g->search_re);
    748748  }
  • regex.c

    r89b2daf r5cbc929  
    8484}
    8585
    86 void owl_regex_free(owl_regex *re)
     86void owl_regex_cleanup(owl_regex *re)
    8787{
    8888    if (re->string) {
Note: See TracChangeset for help on using the changeset viewer.