[SSSD] [PATCH] Free the PCRE regexp with destructor

Stephen Gallagher sgallagh at redhat.com
Wed Nov 4 15:51:26 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/04/2009 08:38 AM, Simo Sorce wrote:
> On Wed, 2009-11-04 at 14:11 +0100, Jakub Hrozek wrote:
>> I noticed a small memoty leak in usertools.c - we never free the "pcre
>> *re" member of sss_names_ctx, the attached patch fixes this with a
>> destructor of sss_names_ctx.
> 
> ack
> 
> Simo.
> 

Pushed to master.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrxov4ACgkQeiVVYja6o6MUuQCfZfQ+IVcX4syiU48P1jp9kK7N
2VUAnjrqtuIW7+joYiuAQR6zXHxcTJcm
=fQYk
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list