Ack. Thanks, Ramesh.
On 10/23/2013 5:36 PM, [email protected] wrote: > osaf/libs/agents/saf/clma/clma_util.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > > freed the memory when the clma callback is called with older version. > > diff --git a/osaf/libs/agents/saf/clma/clma_util.c > b/osaf/libs/agents/saf/clma/clma_util.c > --- a/osaf/libs/agents/saf/clma/clma_util.c > +++ b/osaf/libs/agents/saf/clma/clma_util.c > @@ -423,6 +423,9 @@ static SaAisErrorT clma_hdl_cbk_rec_prc( > reg_cbk->saClmClusterTrackCallback(buf, > > cbk_info->param.track.mem_num, > > cbk_info->param.track.err); > + if(buf->numberOfItems) > + free(buf->notification); > + free(buf); > } > } else { > if (reg_cbk_4->saClmClusterTrackCallback) { > @@ -448,6 +451,7 @@ static SaAisErrorT clma_hdl_cbk_rec_prc( > clma_fill_node_from_node4(node, > cbk_info->param.node_get.info); > > reg_cbk->saClmClusterNodeGetCallback(cbk_info->param.node_get.inv, > > node, cbk_info->param.node_get.err); > + free(node); > } > } else { > if (reg_cbk_4->saClmClusterNodeGetCallback) { > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Opensaf-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
