[devel] [PATCH 1 of 1] ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257]
src/ckpt/ckptd/cpd_red.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Fix memory leak in cpd_a2s_ckpt_usr_info() in cpd_red.c diff --git a/src/ckpt/ckptd/cpd_red.c b/src/ckpt/ckptd/cpd_red.c --- a/src/ckpt/ckptd/cpd_red.c +++ b/src/ckpt/ckptd/cpd_red.c @@ -339,5 +339,8 @@ void cpd_a2s_ckpt_usr_info(CPD_CB *cb, C TRACE_4("cpd A2S ckpt user info async update failed"); else TRACE_1("cpd A2S ckpt user info async update success"); + + free(cpd_msg.info.usr_info_2.node_list); + TRACE_LEAVE(); } -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel
Re: [devel] [PATCH 1 of 1] ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257]
Hi Zoran, ACK Not tested. -AVM On 1/10/2017 9:18 PM, Zoran Milinkovic wrote: > src/ckpt/ckptd/cpd_red.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > > Fix memory leak in cpd_a2s_ckpt_usr_info() in cpd_red.c > > diff --git a/src/ckpt/ckptd/cpd_red.c b/src/ckpt/ckptd/cpd_red.c > --- a/src/ckpt/ckptd/cpd_red.c > +++ b/src/ckpt/ckptd/cpd_red.c > @@ -339,5 +339,8 @@ void cpd_a2s_ckpt_usr_info(CPD_CB *cb, C > TRACE_4("cpd A2S ckpt user info async update failed"); > else > TRACE_1("cpd A2S ckpt user info async update success"); > + > + free(cpd_msg.info.usr_info_2.node_list); > + > TRACE_LEAVE(); > } -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel
Re: [devel] [PATCH 1 of 1] ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257]
Hi Zoran, ACK. Sincerely, Hoang -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: Wednesday, January 11, 2017 10:59 AM To: Zoran Milinkovic Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [devel] [PATCH 1 of 1] ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257] Hi Zoran, ACK Not tested. -AVM On 1/10/2017 9:18 PM, Zoran Milinkovic wrote: > src/ckpt/ckptd/cpd_red.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > > Fix memory leak in cpd_a2s_ckpt_usr_info() in cpd_red.c > > diff --git a/src/ckpt/ckptd/cpd_red.c b/src/ckpt/ckptd/cpd_red.c > --- a/src/ckpt/ckptd/cpd_red.c > +++ b/src/ckpt/ckptd/cpd_red.c > @@ -339,5 +339,8 @@ void cpd_a2s_ckpt_usr_info(CPD_CB *cb, C > TRACE_4("cpd A2S ckpt user info async update failed"); > else > TRACE_1("cpd A2S ckpt user info async update success"); > + > + free(cpd_msg.info.usr_info_2.node_list); > + > TRACE_LEAVE(); > } -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel