From: Chris B. <buc...@us...> - 2011-06-09 22:39:04
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv17873 Modified Files: control.c cimcClientSfcbLocal.c ChangeLog NEWS contributions.txt Log Message: [ 3314383 Memory leak in CimResource_Enumerate_EP Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.585 retrieving revision 1.586 diff -u -d -r1.585 -r1.586 --- NEWS 8 Jun 2011 22:00:12 -0000 1.585 +++ NEWS 9 Jun 2011 22:39:02 -0000 1.586 @@ -13,6 +13,7 @@ - 3202466 Single item on method param of array type rejected via Local - 3287789 interopServerProvider not conservative when answering reqs - 3296541 CIM_IndicationSubscription corrupts after delilvery fails +- 3314383 Memory leak in CimResource_Enumerate_EP Changes in 1.3.11 ================= Index: cimcClientSfcbLocal.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimcClientSfcbLocal.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- cimcClientSfcbLocal.c 28 Apr 2011 21:48:28 -0000 1.40 +++ cimcClientSfcbLocal.c 9 Jun 2011 22:39:02 -0000 1.41 @@ -1910,6 +1910,7 @@ } CONNECT_UNLOCK(); free(ce); + sunsetControl(); uninitGarbageCollector(); return lib; } Index: control.c =================================================================== RCS file: /cvsroot/sblim/sfcb/control.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- control.c 29 Apr 2011 21:40:50 -0000 1.35 +++ control.c 9 Jun 2011 22:39:02 -0000 1.36 @@ -133,10 +133,15 @@ { int i,m; for (i = 0, m = sizeof(init) / sizeof(Control); i < m; i++) { - if(init[i].dupped) free(init[i].strValue); + if(init[i].dupped) { + free(init[i].strValue); + init[i].dupped = 0; + } + } + if (ct) { + ct->ft->release(ct); + ct=NULL; } - ct->ft->release(ct); - ct=NULL; } int setupControl(char *fn) Index: contributions.txt =================================================================== RCS file: /cvsroot/sblim/sfcb/contributions.txt,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- contributions.txt 28 Apr 2011 21:48:28 -0000 1.62 +++ contributions.txt 9 Jun 2011 22:39:02 -0000 1.63 @@ -180,6 +180,7 @@ 11/10/2010 [ 3101154 ] Daemon clients failed SfcbLocal connect due to permission 03/08/2011 [ 3202420 ] CDATA value in a string property is improperly XML escaped 04/28/2011 [ 3202466 ] Single item on method param of array type rejected via Local +06/09/2011 [ 3314383 Memory leak in CimResource_Enumerate_EP Josef Moellers -------------- Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.659 retrieving revision 1.660 diff -u -d -r1.659 -r1.660 --- ChangeLog 8 Jun 2011 22:00:12 -0000 1.659 +++ ChangeLog 9 Jun 2011 22:39:02 -0000 1.660 @@ -1,3 +1,9 @@ +2011-06-09 Chris Buccella <buc...@li...> + + * control.c, cimcClientSfcbLocal.c: + [ 3314383 Memory leak in CimResource_Enumerate_EP + (patch by Chris Poblete) + 2011-06-08 Chris Buccella <buc...@li...> * cimAccountPassthroughProvider.c, cimAccountPassthrough.mof, |