From ec767f3e303c930af316b47b7b6c20e1f96c3b0c Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 16 Jul 2007 17:47:00 +0000 Subject: [PATCH] Fixed last change. --- trunk/gpgme/w32-io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/gpgme/w32-io.c b/trunk/gpgme/w32-io.c index 13ce15b..9ae22f5 100644 --- a/trunk/gpgme/w32-io.c +++ b/trunk/gpgme/w32-io.c @@ -570,10 +570,10 @@ static void destroy_writer (struct writer_context_s *c) { LOCK (c->mutex); - ctx->refcount--; - if (ctx->refcount != 0) + c->refcount--; + if (c->refcount != 0) { - UNLOCK (ctx->mutex); + UNLOCK (c->mutex); return; } c->stop_me = 1; -- 2.26.2