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

Góra strony
Delete this message
Autor: Ralf Junker
Data:  
Dla: pcre-dev@exim.org
Temat: [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