|
From: Dave H. <hel...@us...> - 2014-03-25 23:40:47
|
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 "sfcc- Small Footprint CIM Client".
The branch, master has been updated
via 1152bbf7b9aba98e668dd4589ca5ecb97351896e (commit)
from 45dc847702ba198b61f7fbcfadb5c137b58493e3 (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 1152bbf7b9aba98e668dd4589ca5ecb97351896e
Author: Dave Heller <hel...@us...>
Date: Tue Mar 25 19:40:10 2014 -0400
[bugs:#2730] More memory leaks in backend/cimxml/grammer.c
-----------------------------------------------------------------------
Summary of changes:
backend/cimxml/grammar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c
index 9e543c9..ac1b4e4 100644
--- a/backend/cimxml/grammar.c
+++ b/backend/cimxml/grammar.c
@@ -444,6 +444,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion)
className(parm, (parseUnion*)&lvalp.xtokClassName);
op = newCMPIObjectPath(NULL, lvalp.xtokClassName.value, NULL);
simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
+ if(op) op->ft->release(op);
ct = localLex(&lvalp, parm);
}
while(ct == XTOK_CLASSNAME);
@@ -467,6 +468,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion)
instanceName(parm, (parseUnion*)&lvalp.xtokInstanceName);
createPath(&op, &lvalp.xtokInstanceName);
simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
+ if(op) op->ft->release(op);
ct = localLex(&lvalp, parm);
}
while(ct == XTOK_INSTANCENAME);
@@ -482,6 +484,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion)
//setInstQualifiers(inst, &lvalp.xtokNamedInstance.instance.qualifiers);
setInstProperties(inst, &lvalp.xtokNamedInstance.instance.properties);
simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&inst,CMPI_instance);
+ if(op) op->ft->release(op);
ct = localLex(&lvalp, parm);
}
while(ct == XTOK_VALUENAMEDINSTANCE);
@@ -495,6 +498,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion)
CMSetNameSpace(op, lvalp.xtokObjectPath.path.path.nameSpacePath.value);
CMSetHostname(op, lvalp.xtokObjectPath.path.path.host.host);
simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
+ if(op) op->ft->release(op);
ct = localLex(&lvalp, parm);
}
while(ct == XTOK_OBJECTPATH);
hooks/post-receive
--
sfcc- Small Footprint CIM Client
|