From: Chris B. <buc...@us...> - 2010-10-28 19:33:30
|
Update of /cvsroot/sblim/sfcb In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28363 Modified Files: indCIMXMLHandler.c Log Message: [ 3095884 ] Indication classes missing SystemName Index: indCIMXMLHandler.c =================================================================== RCS file: /cvsroot/sblim/sfcb/indCIMXMLHandler.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- indCIMXMLHandler.c 28 Oct 2010 00:20:05 -0000 1.32 +++ indCIMXMLHandler.c 28 Oct 2010 19:33:22 -0000 1.33 @@ -45,6 +45,8 @@ extern ExpSegments exportIndicationReq(CMPIInstance *ci, char *id); +extern void memLinkObjectPath(CMPIObjectPath *op); + static const CMPIBroker *_broker; static int interOpNameSpace(const CMPIObjectPath *cop, CMPIStatus *st) @@ -232,7 +234,9 @@ } CMPIInstance* ciLocal = CMClone(ci, NULL); + memLinkInstance(ciLocal); CMPIObjectPath* copLocal = CMClone(cop, NULL); + memLinkObjectPath(copLocal); CMPIString *sysname=ciLocal->ft->getProperty(ciLocal,"SystemName",&st).value.string; if (sysname == NULL || sysname->hdl == NULL) { @@ -293,8 +297,6 @@ rv=CBInvokeMethod(_broker,ctx,op,"_removeHandler",in,out,NULL); } - CMRelease(ciLocal); - CMRelease(copLocal); _SFCB_RETURN(st); } |