Mercurial > pidgin.yaz
view doc/certificate-signals.dox @ 30052:99c9595e14a2
Fix two related on-disconnect double frees.
_purple_connection_destroy calls purple_proxy_connect_cancel_with_handle(gc),
and both of these plugins use gc as the handle for their connection attempts.
Their respective close() functions /also/ try to cancel the connection
attempts, which leads to a double-free.
One of these was reported by mati, the other by T_X.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 28 Mar 2010 18:08:38 +0000 |
parents | e0613cf8c493 |
children |
line wrap: on
line source
/** @page certificate-signals Certificate Signals @signals @signal certificate-stored @signal certificate-deleted @endsignals @see certificate.h <hr> @signaldef certificate-stored @signalproto void (*certificate_stored)(PurpleCertificatePool *pool, const gchar *id, gpointer data); @endsignalproto @signaldesc Emitted when a pool stores a certificate. Connect to the pool instance. @param pool Pool the certificate has been stored into @param id Key the certificate was stored under @endsignaldef @signaldef certificate-deleted @signalproto void (*certificate_deleted)(PurpleCertificatePool *pool, const gchar *id, gpointer data); @endsignalproto @signaldesc Emitted when a pool deletes a certificate. Connect to the pool instance. @param pool Pool the certificate was deleted from @param id Key that was deleted @endsignaldef */ // vim: syntax=c.doxygen tw=75 et