diff options
author | Jason Leach <jleach@ximian.com> | 2001-05-30 00:56:18 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-05-30 00:56:18 +0800 |
commit | efabbb93c9f61e583d835d1735834cc5bd0ce63c (patch) | |
tree | 0a7fee9e14e25fe491828f3eccc5de36794af8eb /mail/mail-local.c | |
parent | 0f0dd1ed3618b86fed7524b2140b2eab9592fbca (diff) | |
download | gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar.gz gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar.bz2 gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar.lz gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar.xz gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.tar.zst gsoc2013-evolution-efabbb93c9f61e583d835d1735834cc5bd0ce63c.zip |
one-line fix for bug #2536: File->Close in message viewer doesn't work.
2001-05-29 Jason Leach <jleach@ximian.com>
* message-browser.c (message_browser_new): one-line fix for bug
#2536: File->Close in message viewer doesn't work.
(message_browser_new): Also replaced like 4 lines of code with a
one-liner featuring gnome_app_create_toolbar_with_data().
2001-05-28 Jason Leach <jleach@ximian.com>
* mail-local.c (load_metainfo): Don't need to check if (foo!=NULL)
before doing an xmlFreeDoc().
svn path=/trunk/; revision=10039
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index 0805fd38a2..570fc9847b 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -129,8 +129,7 @@ load_metainfo(const char *path) meta->format = g_strdup("mbox"); /* defaults */ meta->name = g_strdup("mbox"); meta->indexed = TRUE; - if (doc) - xmlFreeDoc(doc); + xmlFreeDoc(doc); return meta; } |