projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4edf07
)
Fix a compiler warning.
author
Matthew Barnes
<mbarnes@redhat.com>
Tue, 28 Sep 2010 18:42:54 +0000
(14:42 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Tue, 28 Sep 2010 18:42:54 +0000
(14:42 -0400)
camel/camel-gpg-context.c
patch
|
blob
|
history
diff --git
a/camel/camel-gpg-context.c
b/camel/camel-gpg-context.c
index
f027917
..
f176c3f
100644
(file)
--- 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 ();