Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

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

void pg_regfree ( regex_t re  ) 

Definition at line 49 of file regfree.c.

References NULL, and regex_t::re_fns.

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

{
    if (re == NULL)
        return;
    (*((struct fns *) re->re_fns)->free) (re);
}