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

Jakub Hrozek jhrozek at redhat.com
Wed Nov 4 13:11:56 UTC 2009


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

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrxfZwACgkQHsardTLnvCWNhgCfd96Hv3VNz/nW86sdhctHvDwq
lzoAn063OsTGfxf3F0v6Tk2cqNa/PzFo
=gM0q
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Free-the-PCRE-regexp-with-destructor.patch
Type: text/x-patch
Size: 1273 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091104/7f48e416/attachment.bin>


More information about the sssd-devel mailing list