aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/async/pop/MCPOPFetchMessageOperation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async/pop/MCPOPFetchMessageOperation.cc b/src/async/pop/MCPOPFetchMessageOperation.cc
index 4f909568..ca822a9e 100644
--- a/src/async/pop/MCPOPFetchMessageOperation.cc
+++ b/src/async/pop/MCPOPFetchMessageOperation.cc
@@ -43,7 +43,7 @@ void POPFetchMessageOperation::main()
{
ErrorCode error;
mData = session()->session()->fetchMessage(mMessageIndex, this, &error);
- mData->retain();
+ MC_SAFE_RETAIN(mData);
setError(error);
}