|
From: Chris B. <buc...@us...> - 2012-07-02 21:40:11
|
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 f42a2cc20966b857f9cd2343ac11eb8292421620 (commit)
from 716f6c8193b1a4642748f47b0079182413a115b0 (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 f42a2cc20966b857f9cd2343ac11eb8292421620
Author: buccella <buc...@li...>
Date: Mon Jul 2 17:40:33 2012 -0400
[ 3539557 ] Memory leak in providerDrv with property list
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index 3966d88..ec302d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-07-02 Chris Buccella <buc...@li...>
+ * providerDrv.c:
+ [ 3539557 ] Memory leak in providerDrv with property list
+
* test/TestProviders/cmpiTestInstanceProvider.c:
[ 3539555 ] Memory leak in TestInstanceProvider
diff --git a/NEWS b/NEWS
index 7c2a112..e64d99d 100644
--- a/NEWS
+++ b/NEWS
@@ -100,6 +100,7 @@ Bugs fixed:
- 3539006 Possible indication deadlock
- 1901737 Memory leak in internalProvider.c
- 3539555 Memory leak in TestInstanceProvider
+- 3539557 Memory leak in providerDrv with property list
Changes in 1.3.15
=================
diff --git a/providerDrv.c b/providerDrv.c
index 4aee4f9..596f14d 100644
--- a/providerDrv.c
+++ b/providerDrv.c
@@ -2234,13 +2234,13 @@ enumInstances(BinRequestHdr * hdr, ProviderInfo * info, int requestor)
TIMING_STOP(hdr, info)
_SFCB_TRACE(1, ("--- Back from provider rc: %d", rci.rc));
+ if (props)
+ free(props);
if (rci.rc == CMPI_RC_OK) {
xferLastResultBuffer(result, abs(requestor), 1);
return NULL;
} else
resp = errorResp(&rci);
- if (props)
- free(props);
_SFCB_RETURN(resp);
}
@@ -2510,13 +2510,13 @@ associators(BinRequestHdr * hdr, ProviderInfo * info, int requestor)
TIMING_STOP(hdr, info)
_SFCB_TRACE(1, ("--- Back from provider rc: %d", rci.rc));
+ if (props)
+ free(props);
if (rci.rc == CMPI_RC_OK) {
xferLastResultBuffer(result, abs(requestor), 1);
return NULL;
} else
resp = errorResp(&rci);
- if (props)
- free(props);
_SFCB_RETURN(resp);
}
@@ -2564,13 +2564,13 @@ references(BinRequestHdr * hdr, ProviderInfo * info, int requestor)
TIMING_STOP(hdr, info)
_SFCB_TRACE(1, ("--- Back from provider rc: %d", rci.rc));
+ if (props)
+ free(props);
if (rci.rc == CMPI_RC_OK) {
xferLastResultBuffer(result, abs(requestor), 1);
return NULL;
} else
resp = errorResp(&rci);
- if (props)
- free(props);
_SFCB_RETURN(resp);
}
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|