--- Comment #3 from Philip Hazel <ph10@???> 2012-02-28 15:11:56 --- > This might be a basic question but if pcre_free is a function pointer is
> this used to supply a function pointer to the pcre code to be called when
> the pcre dll needs to delete the compiled pcre structure returned from
> pcre_compile? Am I correct to assume that I need to free the pcre
> structure returned by pcre_compile to avoid a memory leak?
Did you manage to resolve this? I so, I would like to close this issue. By
default, pcre_free is a pointer to the system function free(), just as
pcre_malloc points to malloc(). They are indirected so that applications can
catch them if they need to.