From 4a1435636a569aece2c685e5a4f3780fbb68c31b Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 7 May 2017 11:24:11 +1000 Subject: [PATCH] Fix tiny leak. --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index f90e4adc..9ba53549 100644 --- a/src/generator.c +++ b/src/generator.c @@ -207,6 +207,7 @@ static bool server_alive(ckpool_t *ckp, server_instance_t *si, bool pinging) userpass = strdup(si->auth); realloc_strcat(&userpass, ":"); realloc_strcat(&userpass, si->pass); + dealloc(cs->auth); cs->auth = http_base64(userpass); dealloc(userpass); if (!cs->auth) {