From: Chris B. <buc...@us...> - 2012-07-03 01:50:07
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 7bba0e8f89428f68feff87567c616de2f8b102a8 (commit) from 3e43d478b9bb3d50cc12454f5661f40b0c14438f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7bba0e8f89428f68feff87567c616de2f8b102a8 Author: buccella <buc...@li...> Date: Mon Jul 2 21:50:26 2012 -0400 [ 3539569 ] Leaks in interopProvider ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 1523d72..6987bcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-07-02 Chris Buccella <buc...@li...> + * interopProvider.c: + [ 3539569 ] Leaks in interopProvider + * indCIMXMLHandler.c: [ 3539563 ] Memory leak in indCIMXMLHandler when Reliable Inds Enabled diff --git a/NEWS b/NEWS index 1c7fdcd..75e373b 100644 --- a/NEWS +++ b/NEWS @@ -102,6 +102,7 @@ Bugs fixed: - 3539555 Memory leak in TestInstanceProvider - 3539557 Memory leak in providerDrv with property list - 3539563 Memory leak in indCIMXMLHandler when Reliable Inds Enabled +- 3539569 Leaks in interopProvider Changes in 1.3.15 ================= diff --git a/interopProvider.c b/interopProvider.c index a7e8e7d..00afaa9 100644 --- a/interopProvider.c +++ b/interopProvider.c @@ -435,6 +435,7 @@ static Handler *updateHandler(CMPIInstance *ci, CMRelease(ha->hci); ha->hci=CMClone(ci,NULL); + CMRelease(ha->hop); ha->hop=CMClone(op,NULL); handlerHt->ft->put(handlerHt,key,ha); @@ -735,6 +736,8 @@ processSubscription(const CMPIBroker * broker, if (fi == NULL) { _SFCB_TRACE(1, ("--- cannot find specified subscription filter")); setStatus(&st, CMPI_RC_ERR_NOT_FOUND, "Filter not found"); + if (skey) + free(skey); _SFCB_RETURN(st); } @@ -754,6 +757,8 @@ processSubscription(const CMPIBroker * broker, if (ha == NULL) { _SFCB_TRACE(1, ("--- cannot find specified subscription handler")); setStatus(&st, CMPI_RC_ERR_NOT_FOUND, "Handler not found"); + if (skey) + free(skey); _SFCB_RETURN(st); } // Get current state @@ -770,6 +775,8 @@ processSubscription(const CMPIBroker * broker, getControlNum("MaxActiveSubscriptions", &cfgmax); if (AScount+1 > cfgmax) { setStatus(&st,CMPI_RC_ERR_FAILED,"Subscription activation would exceed MaxActiveSubscription limit"); + if (skey) + free(skey); return st; } AScount++; hooks/post-receive -- SFCB - Small Footprint CIM Broker |