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

トップ ページ
このメッセージを削除
著者: Ralf Junker
日付:  
To: 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