diff options
-rw-r--r-- | pcre.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -402,7 +402,11 @@ end_match: pcre_free(re); } if (sd != NULL) { + #if (PCRE_MAJOR < 8) || ((PCRE_MAJOR == 8) && (PCRE_MINOR < 20)) + pcre_free(sd); + #else pcre_free_study(sd); + #endif } /* set make vars to captured substrings */ |