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

Αρχική Σελίδα
Delete this message
Συντάκτης: Ralf Junker
Ημερομηνία:  
Προς: pcre-dev@exim.org
Αντικείμενο: [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