Commit ebbff7ee authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#19340 small leak in ndbd

small cleanup fixes in kernel/vm/Configuration
parent 051e6ac9
......@@ -210,9 +210,13 @@ Configuration::Configuration()
m_config_retriever= 0;
m_clusterConfig= 0;
m_clusterConfigIter= 0;
m_logLevel= 0;
}
Configuration::~Configuration(){
if (opt_connect_str)
free(_connectString);
if(_programName != NULL)
free(_programName);
......@@ -225,6 +229,10 @@ Configuration::~Configuration(){
if (m_config_retriever) {
delete m_config_retriever;
}
if(m_logLevel) {
delete m_logLevel;
}
}
void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment