aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-27 01:44:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-27 01:44:28 +0800
commita325b676f3c67de9e7debd134075f9f9a6b3b338 (patch)
tree445fe74df6466c245bd780891b7fc8f5a7ea2dda /camel/providers
parent435ab87f0bf5a6d2f4c8cec529adc738f2675c23 (diff)
downloadgsoc2013-evolution-a325b676f3c67de9e7debd134075f9f9a6b3b338.tar.gz
gsoc2013-evolution-a325b676f3c67de9e7debd134075f9f9a6b3b338.tar.zst
gsoc2013-evolution-a325b676f3c67de9e7debd134075f9f9a6b3b338.zip
If the response is NULL, just return. (now works the same way as
2002-08-26 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (camel_imap_response_free_without_processing): If the response is NULL, just return. (now works the same way as imap_response_free which allowed a NULL response argument). Fixes bug #25491. svn path=/trunk/; revision=17863
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index 3634eb389d..ef7dd1ba35 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -584,6 +584,9 @@ void
camel_imap_response_free_without_processing (CamelImapStore *store,
CamelImapResponse *response)
{
+ if (!response)
+ return;
+
if (response->folder) {
camel_object_unref (CAMEL_OBJECT (response->folder));
response->folder = NULL;