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

Top Page

Reply to this message
Author: Zoltan Herczeg
To: pcre-dev
Subject: [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.


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