aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPSearchExpression.cc
diff options
context:
space:
mode:
authorGravatar pfennema <paul@bryce.demon.nl>2013-12-06 14:13:23 +0100
committerGravatar pfennema <paul@bryce.demon.nl>2013-12-06 14:13:23 +0100
commitd131424279c8b47164a8b1efa292a77300152b19 (patch)
tree4ed8a1f13c448d02489851c9a2fe7ee1d8fa131f /src/core/imap/MCIMAPSearchExpression.cc
parentbecc7cbaa1cb801ce91aa35c3df17537852db5f4 (diff)
Incorporated comments from CodaFi
Diffstat (limited to 'src/core/imap/MCIMAPSearchExpression.cc')
-rw-r--r--src/core/imap/MCIMAPSearchExpression.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/imap/MCIMAPSearchExpression.cc b/src/core/imap/MCIMAPSearchExpression.cc
index 054eaf02..61c052ce 100644
--- a/src/core/imap/MCIMAPSearchExpression.cc
+++ b/src/core/imap/MCIMAPSearchExpression.cc
@@ -26,7 +26,6 @@ IMAPSearchExpression::IMAPSearchExpression(IMAPSearchExpression * other)
MC_SAFE_REPLACE_COPY(String, mHeader, other->mHeader);
MC_SAFE_REPLACE_COPY(String, mValue, other->mValue);
MC_SAFE_REPLACE_COPY(IndexSet, mUids, other->mUids);
-
MC_SAFE_REPLACE_COPY(IMAPSearchExpression, mLeftExpression, other->mLeftExpression);
MC_SAFE_REPLACE_COPY(IMAPSearchExpression, mRightExpression, other->mRightExpression);
}
@@ -34,10 +33,10 @@ IMAPSearchExpression::IMAPSearchExpression(IMAPSearchExpression * other)
IMAPSearchExpression::~IMAPSearchExpression()
{
MC_SAFE_RELEASE(mHeader);
- MC_SAFE_RELEASE(mValue);
+ MC_SAFE_RELEASE(mValue);
MC_SAFE_RELEASE(mUids);
- MC_SAFE_RELEASE(mLeftExpression);
- MC_SAFE_RELEASE(mRightExpression);
+ MC_SAFE_RELEASE(mLeftExpression);
+ MC_SAFE_RELEASE(mRightExpression);
}
String * IMAPSearchExpression::description()
@@ -159,7 +158,7 @@ IMAPSearchExpression * IMAPSearchExpression::searchUIDs(IndexSet * uids)
{
IMAPSearchExpression * expr = new IMAPSearchExpression();
expr->mKind = IMAPSearchKindUIDs;
- MC_SAFE_REPLACE_COPY(IndexSet,expr->mUids, uids);
+ MC_SAFE_REPLACE_COPY(IndexSet, expr->mUids, uids);
return (IMAPSearchExpression *) expr->autorelease();
}