summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/string_list.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-12 19:05:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-12 19:05:01 +0000
commitfe2c3dda8f60afa17a18f3f687b9d5eb04ed5d07 (patch)
treea01d9f2e147a713e8994c1cfcb4d3dccc7b3337c /protocols/Skype/src/string_list.h
parent9c63954b6766e378a841e7f32190a3278dc43e60 (diff)
Skype memory leaks fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/string_list.h')
-rw-r--r--protocols/Skype/src/string_list.h4
1 files changed, 2 insertions, 2 deletions
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);