summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-09-29 16:04:39 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-09-29 16:04:39 +0000
commit116dc1a863a1cbc00d7d4da41497defaf612d5cf (patch)
tree765ae51ebd8a4919c10cba3632c189918ac11143 /plugins/NewsAggregator
parent0e0b5b55f8bd8f669c0fbdc5a3a069b5a594b696 (diff)
NewsAggregator: memleak fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator')
-rw-r--r--plugins/NewsAggregator/Src/CheckFeed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp
index 83a78ee173..d152cca932 100644
--- a/plugins/NewsAggregator/Src/CheckFeed.cpp
+++ b/plugins/NewsAggregator/Src/CheckFeed.cpp
@@ -102,7 +102,7 @@ static void XmlToMsg(MCONTACT hContact, CMString &title, CMString &link, CMStrin
{
CMString message = db_get_tsa(hContact, MODULE, "MsgFormat");
if (!message)
- message = mir_tstrdup(TAGSDEFAULT);
+ message = TAGSDEFAULT;
if (title.IsEmpty())
message.Replace(_T("#<title>#"), TranslateT("empty"));