aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan.c')
-rw-r--r--src/assuan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan.c b/src/assuan.c
index 31263d4..21dd29d 100644
--- a/src/assuan.c
+++ b/src/assuan.c
@@ -176,11 +176,11 @@ _assuan_reset (assuan_context_t ctx)
void
assuan_release (assuan_context_t ctx)
{
- TRACE (ctx, ASSUAN_LOG_CTX, "assuan_release", ctx);
-
if (! ctx)
return;
+ TRACE (ctx, ASSUAN_LOG_CTX, "assuan_release", ctx);
+
_assuan_reset (ctx);
/* None of the members that are our responsibility requires
deallocation. */