2004-08-25 [colin] 0.9.12cvs82.1
[claws.git] / src / plugins / pgpmime / pgpmime.c
index b45b0e02718c391b529153a1e8f1dd2e672f133c..71701e11d1399d9f914d532c10127287fbde2418 100644 (file)
@@ -311,7 +311,8 @@ static MimeInfo *pgpmime_decrypt(MimeInfo *mimeinfo)
                if (data->ctx)
                        gpgme_release(data->ctx);
                data->ctx = ctx;
                if (data->ctx)
                        gpgme_release(data->ctx);
                data->ctx = ctx;
-       }
+       } else 
+               gpgme_release(ctx);
 
        
        return decinfo;
 
        
        return decinfo;