aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp/MCNNTPSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nntp/MCNNTPSession.cpp')
-rw-r--r--src/core/nntp/MCNNTPSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/nntp/MCNNTPSession.cpp b/src/core/nntp/MCNNTPSession.cpp
index ae383581..7e0018e6 100644
--- a/src/core/nntp/MCNNTPSession.cpp
+++ b/src/core/nntp/MCNNTPSession.cpp
@@ -499,6 +499,7 @@ Data * NNTPSession::fetchArticleByMessageID(String * messageID, ErrorCode * pErr
msgID = strdup(messageID->UTF8Characters());
r = newsnntp_article_by_message_id(mNNTP, msgID, &content, &content_len);
+ free(msgID);
if (r == NEWSNNTP_ERROR_STREAM) {
* pError = ErrorConnection;
return NULL;