[Commits] sslcertwindow.c 1.9.2.36 1.9.2.37

colin at claws-mail.org colin at claws-mail.org
Thu Aug 9 15:02:35 CEST 2012


Update of /home/claws-mail/claws/src/gtk
In directory srv:/tmp/cvs-serv20456/src/gtk

Modified Files:
      Tag: gtk2
	sslcertwindow.c 
Log Message:
2012-08-09 [colin]	3.8.1cvs27

	* src/gtk/sslcertwindow.c
		Fix leak

Index: sslcertwindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/sslcertwindow.c,v
retrieving revision 1.9.2.36
retrieving revision 1.9.2.37
diff -u -d -r1.9.2.36 -r1.9.2.37
--- sslcertwindow.c	9 Aug 2012 11:32:26 -0000	1.9.2.36
+++ sslcertwindow.c	9 Aug 2012 13:02:32 -0000	1.9.2.37
@@ -336,6 +336,8 @@
 
 	vbox = gtk_vbox_new(FALSE, 5);
 	buf = g_strdup_printf(_("Certificate for %s is unknown.\n%sDo you want to accept it?"), cert->host, invalid_str);
+	g_free(invalid_str);
+
 	label = gtk_label_new(buf);
 	gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 	gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 0);



More information about the Commits mailing list