From 116dc1a863a1cbc00d7d4da41497defaf612d5cf Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 29 Sep 2015 16:04:39 +0000 Subject: NewsAggregator: memleak fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/CheckFeed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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("##"), TranslateT("empty")); -- cgit v1.2.3