1
1
openmpi/ompi/mca/pml/v
Nathan Hjelm f3ce12e71a Per RFC fix several leaks in opal and ompi. Details below.
pml/v:
  - If vprotocol is not being used vprotocol_include_list is leaked. Assume vprotocol never takes ownership (see below) and always free the string.

coll/ml:
  - (patch verified) calling mca_base_param_lookup_string after mca_base_param_reg_string is unnecessary. The call to mca_base_param_lookup_string causes the value returned by mca_base_param_reg_string to be leaked.
  - Need to free mca_coll_ml_component.config_file_name on component close.

btl/openib:
  - calling mca_base_param_lookup_string after mca_base_param_reg_string is unnecessary. The call to mca_base_param_lookup_string causes the value returned by mca_base_param_reg_string to be leaked.

vprotocol/base:
  - There was no way for pml/v to determine if vprotocol took ownership of vprotocol_include_list. Fix by always never ownership (use strdup).

mca/base:
  - param_lookup will result in storage->stringval to be a newly allocated string if the mca parameter has a string value. ensure this string is always freed.

cmr:v1.7

This commit was SVN r27569.
2012-11-06 18:57:46 +00:00
..
.windows Convert the bad dos line endings to unix style for all windows related files. 2010-12-02 12:08:08 +00:00
configure.m4 Somehow this file got missed. 2010-09-18 04:37:37 +00:00
Makefile.am Correct an abstraction break that causes ompi_info to segfault if pml-v is not built. Move the definition and instantation of the mca_pml_v struct to the vprotocol base. Include the vprotocol/base/base.h file in pml_v.h. Remove the now useless pml_v.c. 2010-10-22 05:12:12 +00:00
pml_v_component.c Per RFC fix several leaks in opal and ompi. Details below. 2012-11-06 18:57:46 +00:00
pml_v_output.c Gah! r25545 acidentally included ''waaaay'' more stuff than it was 2011-11-29 23:24:52 +00:00
pml_v_output.h Fix gcc 4.3 warning berserk about non-literal string format. 2009-10-27 20:45:02 +00:00
pml_v.h Correct an abstraction break that causes ompi_info to segfault if pml-v is not built. Move the definition and instantation of the mca_pml_v struct to the vprotocol base. Include the vprotocol/base/base.h file in pml_v.h. Remove the now useless pml_v.c. 2010-10-22 05:12:12 +00:00