aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/nntp
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-09-24 21:32:24 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-09-24 21:32:24 -0700
commit5bc6c4564a583a6745a04cdc793b25295052fbd1 (patch)
tree61a88f52b96d09417ac97e3090924a263d1c26c2 /src/objc/nntp
parentb6da8d0ff12a4d5f4fe271e820249a957e9381e9 (diff)
Fixed #880. nullify connection logger.
Diffstat (limited to 'src/objc/nntp')
-rw-r--r--src/objc/nntp/MCONNTPSession.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objc/nntp/MCONNTPSession.mm b/src/objc/nntp/MCONNTPSession.mm
index e661eb65..ead237ea 100644
--- a/src/objc/nntp/MCONNTPSession.mm
+++ b/src/objc/nntp/MCONNTPSession.mm
@@ -70,6 +70,7 @@ private:
- (void)dealloc {
MC_SAFE_RELEASE(_loggerBridge);
[_connectionLogger release];
+ _session->setConnectionLogger(NULL);
_session->release();
[super dealloc];
}