~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to backend/cimxml/grammar.c

  • Committer: Package Import Robot
  • Author(s): Kent Baxley
  • Date: 2014-06-25 13:34:21 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140625133421-6a2arkqw06znji3u
Tags: 2.2.7-0ubuntu1
* New upstream release (LP: #1335941). 
* New Features:
 - [bugs:#2692] SFCC: SfcbLocal interface should expose markHeap() and releaseHeap()

 Bugs:
 - [bugs:#2728] Missing tag definition for REFARRAY
 - [bugs:#2729] Improper type handling for EmbeddedObject in PARAMVALUE
 - [bugs:#2730] More memory leaks in backend/cimxml/grammer.c
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
                        className(parm, (parseUnion*)&lvalp.xtokClassName);
445
445
                        op = newCMPIObjectPath(NULL, lvalp.xtokClassName.value, NULL);
446
446
                        simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
 
447
                        if(op) op->ft->release(op);
447
448
                        ct = localLex(&lvalp, parm);
448
449
                }
449
450
                while(ct == XTOK_CLASSNAME);
467
468
                        instanceName(parm, (parseUnion*)&lvalp.xtokInstanceName);
468
469
                        createPath(&op, &lvalp.xtokInstanceName);
469
470
                        simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
 
471
                        if(op) op->ft->release(op);
470
472
                        ct = localLex(&lvalp, parm);
471
473
                }
472
474
                while(ct == XTOK_INSTANCENAME);
482
484
                        //setInstQualifiers(inst, &lvalp.xtokNamedInstance.instance.qualifiers);
483
485
                        setInstProperties(inst, &lvalp.xtokNamedInstance.instance.properties);
484
486
                        simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&inst,CMPI_instance);
 
487
                        if(op) op->ft->release(op);
485
488
                        ct = localLex(&lvalp, parm);
486
489
                }
487
490
                while(ct == XTOK_VALUENAMEDINSTANCE);
495
498
                        CMSetNameSpace(op, lvalp.xtokObjectPath.path.path.nameSpacePath.value);
496
499
                        CMSetHostname(op, lvalp.xtokObjectPath.path.path.host.host);
497
500
                        simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&op,CMPI_ref);
 
501
                        if(op) op->ft->release(op);
498
502
                        ct = localLex(&lvalp, parm);
499
503
                }
500
504
                while(ct == XTOK_OBJECTPATH);