f72b6d45c7
CID 1301389 Resource leak (RESOURCE_LEAK) There is no conceivable reason to strdup cr_argv[0] in either location. Removed the calls to strdup. CID 741357 Resource leak (RESOURCE_LEAK) cr_argv was created by opal_argv_split (tmp_argv[0], ' '). Why should we call opal_argv_join (' ') on this array. Leak fixed by printing out tmp_argv[0] instead of calling opal_argv_join. CID 741358 Resource leak (RESOURCE_LEAK) The code does not handle exec failure correctly. The error should be communicated to the parent process but the function in question is only called by the parent. This calls into question some of the structure of the function in general (like what is the point of returning the child process id). That said, I will go ahead and add the opal_argv_free to quiet this error. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> |
||
---|---|---|
.. | ||
crs_none_component.c | ||
crs_none_module.c | ||
crs_none.h | ||
help-opal-crs-none.txt | ||
Makefile.am | ||
owner.txt |