equal
deleted
inserted
replaced
112 { |
112 { |
113 CompleteRequest( aStatus, KErrDisconnected ); |
113 CompleteRequest( aStatus, KErrDisconnected ); |
114 } |
114 } |
115 |
115 |
116 delete paramBuf; |
116 delete paramBuf; |
117 paramBuf = NULL; |
|
118 LOG( "RLocationObject::CopyLocationData end" ); |
117 LOG( "RLocationObject::CopyLocationData end" ); |
119 } |
118 } |
120 // -------------------------------------------------------------------------- |
119 // -------------------------------------------------------------------------- |
121 // RLocationObjectManipulator::CopyLocationData |
120 // RLocationObjectManipulator::CopyLocationData |
122 // -------------------------------------------------------------------------- |
121 // -------------------------------------------------------------------------- |
145 |
144 |
146 if( error != KErrNone ) |
145 if( error != KErrNone ) |
147 { |
146 { |
148 LOG( "RLocationObject::CopyLocationData CMdCSerializationBuffer creation failed" ); |
147 LOG( "RLocationObject::CopyLocationData CMdCSerializationBuffer creation failed" ); |
149 delete uriBuffer; |
148 delete uriBuffer; |
150 uriBuffer = NULL; |
|
151 CompleteRequest( aStatus, error ); |
149 CompleteRequest( aStatus, error ); |
152 return; |
150 return; |
153 } |
151 } |
154 |
152 |
155 for( TInt i = uriCount - 1; i >=0; i-- ) |
153 for( TInt i = uriCount - 1; i >=0; i-- ) |
177 { |
175 { |
178 CompleteRequest( aStatus, KErrDisconnected ); |
176 CompleteRequest( aStatus, KErrDisconnected ); |
179 } |
177 } |
180 |
178 |
181 delete uriBuffer; |
179 delete uriBuffer; |
182 uriBuffer = NULL; |
|
183 LOG( "RLocationObject::CopyLocationData end" ); |
180 LOG( "RLocationObject::CopyLocationData end" ); |
184 } |
181 } |
185 |
182 |