From 9d067777240c0ff1be75e35b6fca1dc70248a0a2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 21 Jan 2015 02:06:03 +1100 Subject: [PATCH] Do not attempt to decref a freed passthrough client --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index c66cad82..18a625aa 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -3023,7 +3023,7 @@ static void parse_method(sdata_t *sdata, const int64_t client_id, json_t *id_val snprintf(buf, 255, "passthrough=%ld", client->id); send_proc(client->ckp->connector, buf); free(client); - goto out; + return; } if (cmdmatch(method, "mining.auth") && client->subscribed) {