[ofa-general] Re: [PATCH] infiniband-diags: Fix memory leaks on IBERROR and IBPANIC

Sasha Khapyorsky sashak at voltaire.com
Thu Mar 12 09:35:34 PDT 2009


On 11:55 Thu 12 Mar     , Hal Rosenstock wrote:
> 
> Since these macros exit, now need to call mad_rpc_close_port
> prior to invoking them

Both IBERROR and IBPANIC calls exit(), it closes all opened files. This
patch looks like an overkill.

Sasha



More information about the general mailing list