From e9b379bc27f64fc5d31fd894c95a1da5a18f1795 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 5 Feb 2015 20:41:03 +0000 Subject: Weather: Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12012 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_conv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Weather/src/weather_conv.cpp') diff --git a/plugins/Weather/src/weather_conv.cpp b/plugins/Weather/src/weather_conv.cpp index 6697ba2891..a29a666ce7 100644 --- a/plugins/Weather/src/weather_conv.cpp +++ b/plugins/Weather/src/weather_conv.cpp @@ -638,5 +638,5 @@ TCHAR *GetError(int code) str = str2; break; } - return str; + return mir_tstrdup(str); } -- cgit v1.2.3