From e2826e3c08f878e923a74be0663a9323dbc3c1ab Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 16 Feb 2015 20:59:34 +1100 Subject: [PATCH] Add minor comment about memory leak --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index cda1a686..36fd8218 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1035,6 +1035,7 @@ static bool parse_reconnect(proxy_instance_t *proxi, json_t *val) HASH_REPLACE_INT(gdata->proxies, id, newproxi, proxi); mutex_unlock(&gdata->lock); + /* Old proxy memory is basically lost here */ prepare_proxy(newproxi); out: return ret;