Changeset ddbbcffa for regex.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:42 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
d4927a7
Parents:
35b6eb9
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:41)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:42)
Message:
Replace owl_free with g_free.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • regex.c

    r5cbc929 rddbbcffa  
    2828    regerror(ret, NULL, buff1, LINE);
    2929    owl_function_makemsg("Error in regular expression: %s", buff1);
    30     owl_free(re->string);
     30    g_free(re->string);
    3131    re->string=NULL;
    3232    return(-1);
     
    4242  quoted=owl_text_quote(string, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);
    4343  owl_regex_create(re, quoted);
    44   owl_free(quoted);
     44  g_free(quoted);
    4545  return(0);
    4646}
     
    8787{
    8888    if (re->string) {
    89         owl_free(re->string);
     89        g_free(re->string);
    9090        regfree(&(re->re));
    9191    }
Note: See TracChangeset for help on using the changeset viewer.