PostgreSQL Source Code  git master
regfree.c File Reference
#include "regex/regguts.h"
Include dependency graph for regfree.c:

Go to the source code of this file.


void pg_regfree (regex_t *re)

Function Documentation

◆ pg_regfree()

void pg_regfree ( regex_t re)

Definition at line 49 of file regfree.c.

References regex_t::re_fns.

Referenced by createTrgmNFA(), load_ident(), RE_compile_and_cache(), regex_affix_deletion_callback(), and test_regex().

50 {
51  if (re == NULL)
52  return;
53  (*((struct fns *) re->re_fns)->free) (re);
54 }
char * re_fns
Definition: regex.h:81
Definition: regguts.h:510