[sr-dev] git:kamailio_3.0: modules_k/regex Fixed a memory leak when using pcre regex

Iñaki Baz Castillo ibc at aliax.net
Wed Sep 22 22:28:07 CEST 2010


2010/9/22 Marius Zbihlei <marius.zbihlei at 1and1.ro>:
> modules_k/regex Fixed a memory leak when using pcre regex
>
> The compiled regular expression when using pcre_match was not freed.

Hi Marius, extensive thanks for this fix. I've been using
'pcre_match_group' in production for more than a year with high
traffic and I can ensure that it doesn't leak. However I will use
'pcre_match' in production *tomorrow* !!!!  so you have solved an
unavoidable problem!

Really thanks a lot.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list