From 07c29cc91aaba8a7982db9b7ba9c95ffc9ab7445 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 16 Apr 2003 17:47:36 +0500 Subject: [PATCH] Memory leak fixed. --- sql/mysqld.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 24e343017e2..df83d1909cb 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -921,6 +921,8 @@ void clean_up(bool print_message) free_max_user_conn(); end_slave_list(); #ifdef HAVE_OPENSSL + if (ssl_acceptor_fd) + my_free((gptr) ssl_acceptor_fd, MYF(MY_ALLOW_ZERO_PTR)); free_des_key_file(); #endif /* HAVE_OPENSSL */ #ifdef USE_REGEX