1
1
openmpi/ompi
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
..
attribute Prevent deadlocks on recursive calls (deleting communicators with 2014-12-17 23:12:33 -05:00
class George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
communicator Update code base to use the new opal_free_list_t 2015-02-24 10:05:45 -07:00
contrib Remove the actual VampirTrace sources. 2015-01-22 08:08:53 +01:00
datatype ompi/datatype: fix subarray datatype 2015-03-24 14:33:10 -06:00
debuggers debuggers: convert to opal_dl interface 2015-03-09 08:16:55 -07:00
errhandler Add new error code introduced in MPI-3.1. 2015-03-03 17:49:42 -07:00
etc Use MKDIR_P instead of mkdir_p in Makefiles, as MKDIR_P is the only one 2012-06-21 16:52:37 +00:00
file == Highlights == 2012-04-18 15:57:29 +00:00
group ompi/group: refactor ompi_group_incl 2015-03-09 17:07:11 +09:00
include Give some headroom for adding new MPI error codes without breaking ABI 2015-03-04 10:46:41 -07:00
info ompi/info: add support for getting info key value based on variable 2015-03-23 11:20:37 -06:00
mca osc/pt2pt: fix synchronization bugs 2015-04-06 08:39:19 -06:00
message Update code base to use the new opal_free_list_t 2015-02-24 10:05:45 -07:00
mpi fix memory leaks and valgrind errors 2015-04-11 09:28:35 -06:00
mpiext MPI extensions: rules of thumb about symbol names 2015-01-29 06:39:44 -06:00
op Deprecated comment. 2014-04-21 23:30:05 +00:00
patterns Add netpatterns_cleanup_narray_knomial_tree function to cleanup after 2014-05-15 17:36:26 +00:00
peruse - Sanity check initialization and finalization of PERUSE. 2010-01-12 16:36:24 +00:00
proc ompi/proc: correctly handle cutoff modex case 2015-03-09 14:34:28 +09:00
request Update code base to use the new opal_free_list_t 2015-02-24 10:05:45 -07:00
runtime fix memory leaks and valgrind errors 2015-04-11 09:28:35 -06:00
tools (orte|ompi|oshmem)*info tools: convert to opal_dl interface 2015-03-09 08:18:13 -07:00
win Merge one-sided updates to the trunk - written by Brian Barrett and Nathan Hjelmn 2014-02-25 17:36:43 +00:00
Makefile.am configury: new OPAL_SET_LIB_PREFIX/ORTE_SET_LIB_PREFIX macros 2014-10-22 10:32:19 -07:00