Changeset ddbbcffa for filterelement.c
- Timestamp:
- Feb 11, 2011, 4:31:42 PM (14 years ago)
- Branches:
- master, release-1.10, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
filterelement.c
rd222c44 rddbbcffa 94 94 tf=1; 95 95 } 96 owl_free(perlrv);96 g_free(perlrv); 97 97 } 98 98 return tf; … … 216 216 fe->field=owl_strdup(field); 217 217 if(owl_regex_create(&(fe->re), re)) { 218 owl_free(fe->field);218 g_free(fe->field); 219 219 fe->field = NULL; 220 220 return (-1); … … 325 325 void owl_filterelement_cleanup(owl_filterelement *fe) 326 326 { 327 if (fe->field) owl_free(fe->field);327 if (fe->field) g_free(fe->field); 328 328 if (fe->left) { 329 329 owl_filterelement_cleanup(fe->left); 330 owl_free(fe->left);330 g_free(fe->left); 331 331 } 332 332 if (fe->right) { 333 333 owl_filterelement_cleanup(fe->right); 334 owl_free(fe->right);334 g_free(fe->right); 335 335 } 336 336 owl_regex_cleanup(&(fe->re));
Note: See TracChangeset
for help on using the changeset viewer.