Mercurial > pidgin
changeset 19087:7fa5d10969f4
- x509_destroy_certificate is supposed to free the PurpleCertificate
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Fri, 10 Aug 2007 04:30:03 +0000 |
parents | e256e0bf8ae1 |
children | f5802217844d |
files | libpurple/plugins/ssl/ssl-nss.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-nss.c Fri Aug 10 04:21:44 2007 +0000 +++ b/libpurple/plugins/ssl/ssl-nss.c Fri Aug 10 04:30:03 2007 +0000 @@ -455,6 +455,9 @@ /* Finally we have the certificate. So let's kill it */ /* NSS does refcounting automatically */ CERT_DestroyCertificate(crt_dat); + + /* Delete the PurpleCertificate as well */ + g_free(crt); } /** Determines whether one certificate has been issued and signed by another