Re: [pcre-dev] Freeing memory in PCRE

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Mark Burgess
CC: pcre-dev
Subject: 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