diff options
-rw-r--r-- | camel/ChangeLog | 7 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-command.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index d8ef9c8547..e466cc9d58 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,12 @@ 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. + +2002-08-26 Jeffrey Stedfast <fejj@ximian.com> + * providers/imap/camel-imap-store.c: * providers/imap/camel-imap-folder.c: 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; |