Content-Length: 445 | pFad | http://github.com/postgres/postgres/pull/5.diff

thub.com diff --git a/src/backend/regex/regexec.c b/src/backend/regex/regexec.c index 0edb83c1099f9..af8adb9fea173 100644 --- a/src/backend/regex/regexec.c +++ b/src/backend/regex/regexec.c @@ -259,7 +259,7 @@ pg_regexec(regex_t *re, /* clean up */ if (v->pmatch != pmatch && v->pmatch != mat) FREE(v->pmatch); - for (i = 0; i < n; i++) + for (i = 0; i < v->g->ntree; i++) { if (v->subdfas[i] != NULL) freedfa(v->subdfas[i]);








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgres/postgres/pull/5.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy