[evolution-data-server] Fix a compiler warning.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix a compiler warning.
- Date: Tue, 28 Sep 2010 18:44:06 +0000 (UTC)
commit 4eb1719ccd50367c17ae8ce8a731aabb2e47a979
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Sep 28 14:42:54 2010 -0400
Fix a compiler warning.
camel/camel-gpg-context.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c
index f027917..f176c3f 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -2008,8 +2008,10 @@ gpg_decrypt_sync (CamelCipherContext *context,
istream = camel_stream_mem_new ();
if (!camel_data_wrapper_decode_to_stream_sync (
- content, istream, cancellable, error))
- goto fail;
+ content, istream, cancellable, error)) {
+ g_object_unref (istream);
+ return NULL;
+ }
camel_stream_reset (istream, NULL);
ostream = camel_stream_mem_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]