From fe2c3dda8f60afa17a18f3f687b9d5eb04ed5d07 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Jun 2013 19:05:01 +0000 Subject: Skype memory leaks fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@4926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/string_list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype/src/string_list.h') diff --git a/protocols/Skype/src/string_list.h b/protocols/Skype/src/string_list.h index df1ce7b0fa..60921746b5 100644 --- a/protocols/Skype/src/string_list.h +++ b/protocols/Skype/src/string_list.h @@ -18,10 +18,10 @@ public: wchar_t *p = ::wcstok(data, delimeters); if (p) { - this->strings.push_back(::mir_wstrdup(p)); + this->strings.push_back(p); while (p = wcstok(NULL, delimeters)) { - this->strings.push_back(::mir_wstrdup(p)); + this->strings.push_back(p); } } ::mir_free(data); -- cgit v1.2.3