]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Call ssl_iostream_context_cache_free() automatically at exit
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 5 Nov 2017 16:34:48 +0000 (18:34 +0200)
committerTimo Sirainen <tss@dovecot.fi>
Mon, 6 Nov 2017 23:09:00 +0000 (01:09 +0200)
src/lib-ssl-iostream/iostream-ssl.c

index 79722a4bdf1cd377f0e00231d6951acf0a24744d..7d0302390a3218214e6352f0bfd57f867b81d3e1 100644 (file)
@@ -32,6 +32,7 @@ static const struct iostream_ssl_vfuncs *ssl_vfuncs = NULL;
 #ifdef HAVE_SSL
 static void ssl_module_unload(void)
 {
+       ssl_iostream_context_cache_free();
        module_dir_unload(&ssl_module);
 }
 #endif