--- a/serviceproviders/sapi_sysinfo/src/sysinfoobserver.cpp Wed Sep 01 12:28:47 2010 +0100
+++ b/serviceproviders/sapi_sysinfo/src/sysinfoobserver.cpp Tue Sep 14 22:59:08 2010 +0300
@@ -96,10 +96,12 @@
eventParamList->AppendL(TLiwGenericParam(KErrorCode,TLiwVariant((TInt32)SapiErr)));
CLiwMap* outparam=NULL;
- if( (aOutput->DataType() == CSysData::EAccessoryList) ||
- (aOutput->DataType() == CSysData::EConnectionList) )
- ownership = ETrue;
-
+ if(aOutput)
+ {
+ if( (aOutput->DataType() == CSysData::EAccessoryList) ||
+ (aOutput->DataType() == CSysData::EConnectionList) )
+ ownership = ETrue;
+ }
CSysInfoInterface::ConvertSysData2AiwParamL(aOutput,outparam);
//Add Entity and Key to the output map.
if(outparam)