Commit 9508e913 authored by Olivier Bertrand's avatar Olivier Bertrand

- Release memory allocated by inihandl in connect_done_func.

modified:
  storage/connect/ha_connect.cc

- Remove unuseful last change

modified:
  storage/connect/block.h
parent 2662ae4b
...@@ -52,9 +52,6 @@ if (debug != NULL) ...@@ -52,9 +52,6 @@ if (debug != NULL)
// Avoid warning C4291 by defining a matching dummy delete operator // Avoid warning C4291 by defining a matching dummy delete operator
void operator delete(void *, PGLOBAL, void *) {} void operator delete(void *, PGLOBAL, void *) {}
#endif #endif
protected:
~BLOCK(void) {}
}; // end of class BLOCK }; // end of class BLOCK
#endif // !BLOCK_DEFINED #endif // !BLOCK_DEFINED
...@@ -394,6 +394,10 @@ static int connect_done_func(void *p) ...@@ -394,6 +394,10 @@ static int connect_done_func(void *p)
XmlCleanupParserLib(); XmlCleanupParserLib();
#endif // LIBXML2_SUPPORT #endif // LIBXML2_SUPPORT
#if !defined(WIN32)
PROFILE_Close(connectini);
#endif // !WIN32
for (pc= user_connect::to_users; pc; pc= pn) { for (pc= user_connect::to_users; pc; pc= pn) {
if (pc->g) if (pc->g)
PlugCleanup(pc->g, true); PlugCleanup(pc->g, true);
......
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