aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-12-11 14:24:03 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-12-11 14:24:03 -0800
commit475d817e0230342443203f3b9b3dfe2a45a71779 (patch)
tree74803f62785a268e477fb82f96f98fc7e65f1686 /src/core/nntp
parent129a55d2098fbb114fcb7e785b31ce270e9cfda0 (diff)
Fixed analyzer issues and warnings (#993 and fixed #992)
Diffstat (limited to 'src/core/nntp')
-rw-r--r--src/core/nntp/MCNNTPSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nntp/MCNNTPSession.cpp b/src/core/nntp/MCNNTPSession.cpp
index 44765a3e..f6427006 100644
--- a/src/core/nntp/MCNNTPSession.cpp
+++ b/src/core/nntp/MCNNTPSession.cpp
@@ -386,7 +386,7 @@ Array * NNTPSession::listDefaultNewsgroups(ErrorCode * pError)
grp_info = (struct newsnntp_group_info *) clist_content(iter);
- name = String::stringWithUTF8Characters(strdup(grp_info->grp_name));
+ name = String::stringWithUTF8Characters(grp_info->grp_name);
name->retain();
NNTPGroupInfo * info = new NNTPGroupInfo();