[Clientapps-cvs] symbianMmf hxmmfctrlimpl.cpp,1.3,1.4
gashish at helixcommunity.org gashish at helixcommunity.orgUpdate of /cvsroot/clientapps/symbianMmf
In directory cvs:/tmp/cvs-serv26858
Modified Files:
hxmmfctrlimpl.cpp
Log Message:
Check to make sure that SetRequester is not called when DataSource is null.
Index: hxmmfctrlimpl.cpp
===================================================================
RCS file: /cvsroot/clientapps/symbianMmf/hxmmfctrlimpl.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hxmmfctrlimpl.cpp 12 Oct 2005 21:55:03 -0000 1.3
+++ hxmmfctrlimpl.cpp 20 Oct 2005 14:47:10 -0000 1.4
@@ -640,9 +640,9 @@
if(m_pRequest)
{
result = m_pRequest->SetURL(m_url);
- }
+ }
- if(result == HXR_OK)
+ if(result == HXR_OK && m_pRequest && pDataSource)
{
IHXRequestContext *pRequestContext = NULL;
m_pRequest->QueryInterface