diff -r b1f0785c289d -r 4f501b74aeb1 messagingapp/msgappfw/msghistory/src/msghistoryimpl.cpp --- a/messagingapp/msgappfw/msghistory/src/msghistoryimpl.cpp Tue Jul 13 22:09:22 2010 +0530 +++ b/messagingapp/msgappfw/msghistory/src/msghistoryimpl.cpp Sun Jul 25 18:59:19 2010 +0530 @@ -27,7 +27,7 @@ MsgHistoryImpl::MsgHistoryImpl(QObject* parent) :QObject(parent) { - d_ptr = new MsgHistoryPrivate(this); + d_ptr = q_check_ptr (new MsgHistoryPrivate(this)); //connect signals connect(this, SIGNAL(messagesReady(QList&)),