Re: [pcre-dev] Freeing memory in PCRE

Página Principal
Apagar esta mensagem
Autor: Philip Hazel
Data:  
Para: Mark Burgess
CC: pcre-dev
Assunto: Re: [pcre-dev] Freeing memory in PCRE
On Thu, 21 May 2009, Mark Burgess wrote:

> Now in the newer versions (Version: 7.8-1.38) I get double-free
> segfaults from the same code. Is this a bug, or am I doing something
> wrong? How should I be doing this?
>
> I appreciate your help - see the commented free below, which I believe
> should be there.


If you post the regex and the test string that is causing you this
problem, I will test with the latest version (7.9) to see if it is a
fault within PCRE. What you are doing in your code looks OK at first
glance.

Philip

--
Philip Hazel