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.

Functions

void pg_regfree (regex_t *re)
 

Function Documentation

◆ pg_regfree()

void pg_regfree ( regex_t re)

Definition at line 49 of file regfree.c.

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

References regex_t::re_fns.

Referenced by free_auth_token(), and test_regex().