diff --git a/src/stratifier.c b/src/stratifier.c index c4b7e349..2502de9f 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1540,7 +1540,7 @@ static int send_recv_auth(stratum_instance_t *client) { user_instance_t *user_instance = client->user_instance; ckpool_t *ckp = client->ckp; - char *buf, *json_msg; + char *buf = NULL, *json_msg; char cdfield[64]; int ret = 1; json_t *val;