[pcre-dev] [Bug 1209] Calling pcre_free from C# causes a mem…

Etusivu
Poista viesti
Lähettäjä: Zoltan Herczeg
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] [Bug 1209] Calling pcre_free from C# causes a memory access violation
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1209

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???





--- Comment #1 from Zoltan Herczeg <hzmester@???> 2012-02-09 16:39:53 ---
I suspect this is incorrect:

private static extern void pcre_free(IntPtr re);

If VPCOMPAT is not defined the symbol is a function pointer not a function:

PCRE_EXP_DECL void (*pcre_free)(void *);

Although I know nothing of C fence.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email