This was technically a memory leak introduced in #249, although, the structure was allocated once and required throughout the lifetime of the program. However, the context is not really needed at all anymore. Since pcre 10.30, pcre2_match no longer uses recursive function calls, so this setting should no longer be needed.
This was technically a memory leak introduced in #249, although, the structure was allocated once and required throughout the lifetime of the program. However, the context is not really needed at all anymore. Since pcre 10.30, pcre2_match no longer uses recursive function calls, so this setting should no longer be needed.
See HaxeFoundation/hashlink/pull/515
This also fixes: https://github.com/HaxeFoundation/haxe/issues/8829