[evolution-patches] fix for bug #42763
- From: Jeffrey Stedfast <fejj ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] fix for bug #42763
- Date: 13 May 2003 12:36:57 -0400
http://bugzilla.ximian.com/show_bug.cgi?id=42763
Jeff
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
? 42763.patch
? camel-charset-map.patch
? charset-map.c
? ct.patch
? imap.patch
? postfix.patch
? srep.sh
? subject-encoding.patch
? providers/mapi
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.1809
diff -u -r1.1809 ChangeLog
--- ChangeLog 4 May 2003 19:11:39 -0000 1.1809
+++ ChangeLog 13 May 2003 16:33:57 -0000
@@ -1,3 +1,8 @@
+2003-05-13 Jeffrey Stedfast <fejj ximian com>
+
+ * providers/local/camel-local-folder.c (local_delete): Only delete
+ the index if it is non-NULL. Fixes bug #42763.
+
2003-05-02 Dan Winship <danw ximian com>
* camel-mime-part-utils.c
Index: camel-tcp-stream-ssl.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-tcp-stream-ssl.c,v
retrieving revision 1.59
diff -u -r1.59 camel-tcp-stream-ssl.c
--- camel-tcp-stream-ssl.c 21 Mar 2003 18:54:52 -0000 1.59
+++ camel-tcp-stream-ssl.c 13 May 2003 16:33:58 -0000
@@ -1031,6 +1031,7 @@
PRFileDesc *fd;
g_return_val_if_fail (host != NULL, -1);
+ g_return_val_if_fail (host->h_addr != NULL, -1);
memset ((void *) &netaddr, 0, sizeof (PRNetAddr));
#ifdef ENABLE_IPv6
Index: providers/local/camel-local-folder.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/local/camel-local-folder.c,v
retrieving revision 1.34
diff -u -r1.34 camel-local-folder.c
--- providers/local/camel-local-folder.c 19 Apr 2003 03:15:54 -0000 1.34
+++ providers/local/camel-local-folder.c 13 May 2003 16:33:58 -0000
@@ -442,8 +442,9 @@
local_delete(CamelFolder *folder)
{
CamelLocalFolder *lf = (CamelLocalFolder *)folder;
-
- camel_index_delete(lf->index);
+
+ if (lf->index)
+ camel_index_delete(lf->index);
parent_class->delete(folder);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]