• unknown's avatar
    misc (memleak) fixes: · e599c68b
    unknown authored
        added using ndb_end and showing mem allocation stat at exit
        added init of variable
        added destruction of LocalConfig to still memleak
        added delete of theFacade on exit
        stopSessions(true) on socket server to ensure destuction of threads
        added destruction of arbit manager thread
        added true option to stopSessions in transporter facade to ensure destructions of threads
    
    
    ndb/include/util/ndb_opts.h:
      added using ndb_end and showing mem allocation stat at exit
    ndb/src/common/logger/LogHandler.cpp:
      added init of variable
    ndb/src/mgmapi/mgmapi.cpp:
      added destruction of LocalConfig to still memleak
      debug printouts
    ndb/src/mgmclient/main.cpp:
      added using ndb_end and showing mem allocation stat at exit
    ndb/src/mgmsrv/MgmtSrvr.cpp:
      added delete of theFacade on exit
      removed area51
      added debug prints
    ndb/src/mgmsrv/main.cpp:
      added using ndb_end and showing mem allocation stat at exit
      moved glob struct to heap to enable ndb_end usage
      moved options out of glob struct
      stopSessions(true) on socket server to ensure destuction of threads
    ndb/src/ndbapi/ClusterMgr.cpp:
      added destruction of arbit manager thread
      debug printouts
    ndb/src/ndbapi/TransporterFacade.cpp:
      added true option to stopSessions in transporter facade to ensure destructions of threads
      + debug prints
    e599c68b
main.cpp 4.49 KB