mirror of
https://github.com/MariaDB/server.git
synced 2025-04-18 13:15:32 +02:00
- Release memory allocated by inihandl in connect_done_func.
modified: storage/connect/ha_connect.cc - Remove unuseful last change modified: storage/connect/block.h
This commit is contained in:
parent
2662ae4b2b
commit
9508e913e7
2 changed files with 4 additions and 3 deletions
storage/connect
|
@ -52,9 +52,6 @@ if (debug != NULL)
|
|||
// Avoid warning C4291 by defining a matching dummy delete operator
|
||||
void operator delete(void *, PGLOBAL, void *) {}
|
||||
#endif
|
||||
|
||||
protected:
|
||||
~BLOCK(void) {}
|
||||
}; // end of class BLOCK
|
||||
|
||||
#endif // !BLOCK_DEFINED
|
||||
|
|
|
@ -394,6 +394,10 @@ static int connect_done_func(void *p)
|
|||
XmlCleanupParserLib();
|
||||
#endif // LIBXML2_SUPPORT
|
||||
|
||||
#if !defined(WIN32)
|
||||
PROFILE_Close(connectini);
|
||||
#endif // !WIN32
|
||||
|
||||
for (pc= user_connect::to_users; pc; pc= pn) {
|
||||
if (pc->g)
|
||||
PlugCleanup(pc->g, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue