1
1
openmpi/opal/mca/btl
Nathan Hjelm a7b0c00ab6 fix memory leaks and valgrind errors
This commit fixes several vagrind errors. Included:

 - installdirs did not correctly reinitialize all pointers to NULL
   at close. This causes valgrind errors on a subsequent call to
   opal_init_tool.

 - several opal strings were leaked by opal_deregister_params which
   was setting them to NULL instead of letting them be freed by the
   MCA variable system.

 - move opal_net_init to AFTER the variable system is initialized and
   opal's MCA variables have been registered. opal_net_init uses a
   variable registered by opal_register_params!

 - do not leak ompi_mpi_main_thread when it is allocated by
   MPI_T_init_thread.

 - do not overwrite ompi_mpi_main_thread if it is already set (by
   MPI_T_init_thread).

 - mca_base_var: read_files was overwritting mca_base_var_file_list
   even if it was non-NULL.

 - mca_base_var: set all file global variables to initial states on
   finalize.

 - btl/vader: decrement enumerator reference count to ensure that it
   is freed.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-04-11 09:28:35 -06:00
..
base fix misc memory leaks 2015-03-05 13:58:05 +09:00
openib btl/openib: fix compiler warning, by HalR 2015-03-13 13:17:23 +02:00
portals4 btl-portals4: fix compiler warnings 2015-03-12 20:34:04 -05:00
scif btl/scif: fix a typo 2015-02-26 13:45:51 +09:00
self Update code base to use the new opal_free_list_t 2015-02-24 10:05:45 -07:00
sm FT: fix compilation using --with-ft (1/5) 2015-03-11 14:23:33 +01:00
smcuda FT: fix compilation using --with-ft (1/5) 2015-03-11 14:23:33 +01:00
tcp btl/tcp: silence CID 710616 2015-03-05 14:20:08 +09:00
template Update code base to use the new opal_free_list_t 2015-02-24 10:05:45 -07:00
ugni Merge pull request #408 from hjelmn/btl_3_0_mod 2015-02-26 12:57:43 -07:00
usnic usnic: fix the CQ-reading logic for -FI_EAGAIN 2015-04-02 15:56:50 -07:00
vader fix memory leaks and valgrind errors 2015-04-11 09:28:35 -06:00
btl.h Merge pull request #408 from hjelmn/btl_3_0_mod 2015-02-26 12:57:43 -07:00
Makefile.am Cleanup the moved component's Makefile.am to use the opal instead of ompi directories 2014-07-31 04:41:04 +00:00