Mercurial > pidgin
diff libpurple/plugins/ssl/ssl-nss.c @ 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 | 5b8035030053 |
| children | c861705e934b |
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
