author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 26 Jan 2010 11:46:52 +0200 | |
changeset 3 | ecc2fefbdf1d |
parent 2 | a5fecba4b1e4 |
child 4 | 75a71fdb4c92 |
omadm/omadmextensions/adapters/dcmodmadapter/src/dcmodmadapter.cpp | file | annotate | diff | comparison | revisions |
--- a/omadm/omadmextensions/adapters/dcmodmadapter/src/dcmodmadapter.cpp Mon Jan 18 20:09:30 2010 +0200 +++ b/omadm/omadmextensions/adapters/dcmodmadapter/src/dcmodmadapter.cpp Tue Jan 26 11:46:52 2010 +0200 @@ -103,8 +103,11 @@ CDcmoDMAdapter::~CDcmoDMAdapter() { _DBG_FILE( "CDcmoDMAdapter Destructor" ); - idcmoClient->Close(); - delete idcmoClient; + if( idcmoClient ) + { + idcmoClient->Close(); + delete idcmoClient; + } idcmoClient = NULL; }