diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-09-29 16:04:39 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-09-29 16:04:39 +0000 |
commit | 116dc1a863a1cbc00d7d4da41497defaf612d5cf (patch) | |
tree | 765ae51ebd8a4919c10cba3632c189918ac11143 /plugins/NewsAggregator | |
parent | 0e0b5b55f8bd8f669c0fbdc5a3a069b5a594b696 (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.cpp | 2 |
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"));
|