pidgin: 04cb3481: Fix a crash on exit when using --with-sy...

rlaager at pidgin.im rlaager at pidgin.im
Fri Aug 8 22:10:49 EDT 2008


-----------------------------------------------------------------
Revision: 04cb3481a7947425a89254b98d0d64b73ca36dc1
Ancestor: 434563a4b8fadb9593c241db4bb5ffd0bf2c0627
Author: markdoliner at pidgin.im
Date: 2008-08-09T02:04:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/04cb3481a7947425a89254b98d0d64b73ca36dc1

Modified files:
        libpurple/certificate.c

ChangeLog: 

Fix a crash on exit when using --with-system-ssl-certs

-------------- next part --------------
============================================================
--- libpurple/certificate.c	a264086c888f898c25043ef7b5198370ebd23a82
+++ libpurple/certificate.c	c413eac48d7738cba1f55b9fb218b7320a0136d9
@@ -746,7 +746,7 @@ x509_ca_init(void)
 						   "ca-certs", NULL));
 #else
 # ifdef SSL_CERTIFICATES_DIR
-		x509_ca_paths = g_list_append(NULL, SSL_CERTIFICATES_DIR);
+		x509_ca_paths = g_list_append(NULL, g_strdup(SSL_CERTIFICATES_DIR));
 # else
 		x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR,
 						   "purple", "ca-certs", NULL));


More information about the Commits mailing list