environmental variable code that could
have caused long-running OpenVPN sessions
with many TLS renegotiations to incrementally
increase memory usage over time.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2981
e7ae566f-a301-0410-adde-
c780ea21d3b5
Memcheck:Cond
obj:/lib/ld-2.5.so
}
+
+{
+ <insert a suppression name here>
+ Memcheck:Leak
+ fun:malloc
+ fun:CRYPTO_malloc
+ fun:sk_new
+ obj:/usr/lib/libssl.so.0.9.8
+ fun:SSL_COMP_get_compression_methods
+ fun:SSL_library_init
+ fun:init_ssl_lib
+ fun:init_static
+ fun:main
+}
#!/bin/bash
-valgrind --tool=memcheck --error-limit=no --suppressions=debug/valgrind-suppress --gen-suppressions=all --leak-check=yes --num-callers=32 $*
+valgrind --tool=memcheck --error-limit=no --suppressions=debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $*
gc_init (&c.gc);
/* initialize environmental variable store */
- c.es = env_set_create (&c.gc);
+ c.es = env_set_create (NULL);
#ifdef ENABLE_MANAGEMENT
/* initialize management subsystem */
context_gc_free (&c);
+ env_set_destroy (c.es);
+
#ifdef ENABLE_MANAGEMENT
/* close management interface */
close_management ();