From d1e40ac15ff28c16660cd14a4f30b5c3e8be977a Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 16 Jul 2007 17:47:00 +0000 Subject: [PATCH] Fixed last change. --- gpgme/w32-io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpgme/w32-io.c b/gpgme/w32-io.c index 13ce15b..9ae22f5 100644 --- a/gpgme/w32-io.c +++ b/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