Browse Source

Free buffer used for authorisation message

master
Con Kolivas 10 years ago
parent
commit
f34516bd4d
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -3254,6 +3254,7 @@ static void sauth_process(ckpool_t *ckp, json_params_t *jp)
ASPRINTF(&buf, "Authorised, welcome to %s %s!", ckp->name,
client->user_instance->username);
stratum_send_message(sdata, client, buf);
free(buf);
} else {
if (errnum < 0)
stratum_send_message(sdata, client, "Authorisations temporarily offline :(");

Loading…
Cancel
Save