[pcre-dev] JIT: Who owns stack created in pcre_jit_callback(…

Startseite
Nachricht löschen
Autor: Ralf Junker
Datum:  
To: pcre-dev@exim.org
Betreff: [pcre-dev] JIT: Who owns stack created in pcre_jit_callback()?
The documentation (pcrejit.html) does not state clearly who owns the JIT
stack created in the pcre_jit_callback() function.

My tests indicate that it is *not* owned by pcre_extra because
pcre_free_study() does not free it.

So the application is responsible to call pcre_jit_stack_free() for any
JIT stack created during pcre_jit_callback, right?

Ralf