Mercurial > pidgin
view share/ca-certs/Makefile.mingw @ 29649: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 | 78c64f7c598f |
children |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for win32 (mingw) version of Pidgin ca-certs # PIDGIN_TREE_TOP := ../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak datadir := $(PIDGIN_INSTALL_DIR) -include ./Makefile.am.mingw cacertsdir := $(PIDGIN_INSTALL_DIR)/ca-certs .PHONY: install clean install: ./Makefile.am.mingw if test '$(cacerts_DATA)'; then \ mkdir -p $(cacertsdir); \ cp $(cacerts_DATA) $(cacertsdir); \ fi; clean: rm -f ./Makefile.am.mingw ./Makefile.am.mingw: ./Makefile.am sed -e 's/^if\ INSTALL_SSL_CERTIFICATES/ifeq (\$$(INSTALL_SSL_CERTIFICATES), 1)/' ./Makefile.am > $@