webservices/wsstar/wsstarpolicy/src/senwspolicymanager.cpp
changeset 1 272b002df977
parent 0 62f9d29f7211
child 23 a1df79fa35b4
equal deleted inserted replaced
0:62f9d29f7211 1:272b002df977
   833 
   833 
   834             if (aLocalName.Compare(KWsPolicyContainer) == 0)
   834             if (aLocalName.Compare(KWsPolicyContainer) == 0)
   835                 {
   835                 {
   836                 if ( ipPolicyContainer )
   836                 if ( ipPolicyContainer )
   837                     {
   837                     {
   838                     CSenElement* element  = ipPolicyContainer->ExtractElement();
   838                    // CSenElement* element  = ipPolicyContainer->ExtractElement();
   839                     delete ipPolicyContainer;
   839                     delete ipPolicyContainer;
   840                     ipPolicyContainer = NULL;
   840                     ipPolicyContainer = NULL;
   841                     }
   841                     }
   842                     
   842                     
   843 
   843 
   868             {
   868             {
   869             if (aLocalName.Compare(KSenWsPolicyIdentifierLocalname) == 0)
   869             if (aLocalName.Compare(KSenWsPolicyIdentifierLocalname) == 0)
   870                 {
   870                 {
   871                 if ( ipPolicyIdentifier )
   871                 if ( ipPolicyIdentifier )
   872                     {
   872                     {
   873                     CSenElement* element  = ipPolicyIdentifier->ExtractElement();
   873                     //CSenElement* element  = ipPolicyIdentifier->ExtractElement();
   874                     delete ipPolicyIdentifier;
   874                     delete ipPolicyIdentifier;
   875                     ipPolicyIdentifier = NULL;
   875                     ipPolicyIdentifier = NULL;
   876                     }
   876                     }
   877 
   877 
   878                 CSenElement& element  = ipPolicyContainer->AsElement();
   878                 CSenElement& element  = ipPolicyContainer->AsElement();
  1008                 //         2) PolicyMetadata
  1008                 //         2) PolicyMetadata
  1009                 if ( children.Count() < 2 )
  1009                 if ( children.Count() < 2 )
  1010                     {
  1010                     {
  1011                     if ( ipPolicyIdentifier )
  1011                     if ( ipPolicyIdentifier )
  1012                         {
  1012                         {
  1013                         CSenElement* element  = ipPolicyIdentifier->ExtractElement();
  1013                        // CSenElement* element  = ipPolicyIdentifier->ExtractElement();
  1014                         delete ipPolicyIdentifier;
  1014                         delete ipPolicyIdentifier;
  1015                         ipPolicyIdentifier = NULL;
  1015                         ipPolicyIdentifier = NULL;
  1016                         }
  1016                         }
  1017                     if ( ipWSpolicy )
  1017                     if ( ipWSpolicy )
  1018                         {
  1018                         {
  1019                         CSenElement* element  = ipWSpolicy->ExtractElement();
  1019                        // CSenElement* element  = ipWSpolicy->ExtractElement();
  1020                         delete ipWSpolicy;
  1020                         delete ipWSpolicy;
  1021                         ipWSpolicy = NULL;
  1021                         ipWSpolicy = NULL;
  1022                         }
  1022                         }
  1023                     }
  1023                     }
  1024 
  1024