From 2a64816b391395d925e0f7ff79d200bbb562fe7e Mon Sep 17 00:00:00 2001 From: james Date: Thu, 23 Nov 2006 22:05:14 +0000 Subject: Fixed issue where struct env_set methods that change the value of an existing name=value pair would delay the freeing of the memory held by the previous name=value pair until the underlying client instance object is closed. This could cause a server that handles long-term client connections, resulting in many periodic calls to verify_callback, to needlessly grow the env_set memory allocation until the underlying client instance object is closed. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1493 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index ac76185..d626dfe 100644 --- a/misc.h +++ b/misc.h @@ -168,6 +168,7 @@ void setenv_del (struct env_set *es, const char *name); /* struct env_set functions */ struct env_set *env_set_create (struct gc_arena *gc); +void env_set_destroy (struct env_set *es); bool env_set_del (struct env_set *es, const char *str); void env_set_add (struct env_set *es, const char *str); -- cgit