diff options
author | Not Zed <NotZed@Ximian.com> | 2003-12-02 07:33:26 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-12-02 07:33:26 +0800 |
commit | b626efedcac81217607d2eb502bff3de3a3dbdbc (patch) | |
tree | 46ee955212161c5fa95759f0369ced7b02d1c14b /camel/camel-gpg-context.c | |
parent | 9d8f9dea7be5a8d8973198eb5367d9f055f74974 (diff) | |
download | gsoc2013-evolution-b626efedcac81217607d2eb502bff3de3a3dbdbc.tar.gz gsoc2013-evolution-b626efedcac81217607d2eb502bff3de3a3dbdbc.tar.zst gsoc2013-evolution-b626efedcac81217607d2eb502bff3de3a3dbdbc.zip |
** See bug #51478.
2003-12-02 Not Zed <NotZed@Ximian.com>
** See bug #51478.
* camel-gpg-context.c (gpg_ctx_free): handle the context being
NULL, and exit silently.
svn path=/trunk/; revision=23550
Diffstat (limited to 'camel/camel-gpg-context.c')
-rw-r--r-- | camel/camel-gpg-context.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c index 4b7f39dd7e..237540a381 100644 --- a/camel/camel-gpg-context.c +++ b/camel/camel-gpg-context.c @@ -386,7 +386,10 @@ static void gpg_ctx_free (struct _GpgCtx *gpg) { int i; - + + if (gpg == NULL) + return; + if (gpg->session) camel_object_unref (gpg->session); |