Avoid reconfiguration leak of [SSL] objects tied to http_port and https_port. === modified file 'src/cache_cf.cc' --- src/cache_cf.cc 2013-12-02 17:37:56 +0000 +++ src/cache_cf.cc 2014-02-11 19:35:19 +0000 @@ -3950,41 +3950,41 @@ dump_generic_port(StoreEntry * e, const #endif } static void dump_PortCfg(StoreEntry * e, const char *n, const AnyP::PortCfg * s) { while (s) { dump_generic_port(e, n, s); storeAppendPrintf(e, "\n"); s = s->next; } } static void free_PortCfg(AnyP::PortCfg ** head) { AnyP::PortCfg *s; while ((s = *head) != NULL) { *head = s->next; - cbdataReferenceDone(s); + delete s; } } void configFreeMemory(void) { free_all(); #if USE_SSL SSL_CTX_free(Config.ssl_client.sslContext); #endif } void requirePathnameExists(const char *name, const char *path) { struct stat sb; char pathbuf[BUFSIZ]; assert(path != NULL);