diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-03 12:39:20 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-03 12:39:20 +0000 |
commit | 3a5c9959684fd0f7613ded5efdad7a23e08f09ec (patch) | |
tree | 5a9ac6e0400d99b220d5da82646ccb052e4e8c56 /protocols/SkypeWeb | |
parent | 4da1269b791dd0d69567d6ac020572901388f6e3 (diff) |
ooops
git-svn-id: http://svn.miranda-ng.org/main/trunk@14830 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_db.h b/protocols/SkypeWeb/src/skype_db.h index bc4e04c8d2..633219d214 100644 --- a/protocols/SkypeWeb/src/skype_db.h +++ b/protocols/SkypeWeb/src/skype_db.h @@ -38,7 +38,7 @@ class pass_ptrA : public mir_ptr<char> public:
__inline explicit pass_ptrA() : mir_ptr(){}
__inline explicit pass_ptrA(char* _p) : mir_ptr(_p) {}
- __inline ~pass_ptrA() { zero(); mir_ptr::~mir_ptr(); }
+ __inline ~pass_ptrA() { zero(); }
__inline void zero()
{ char *data = mir_ptr::operator char *();
if (data) SecureZeroMemory(data, mir_strlen(data));
@@ -51,7 +51,7 @@ class pass_ptrW : public mir_ptr<WCHAR> public:
__inline explicit pass_ptrW() : mir_ptr(){}
__inline explicit pass_ptrW(WCHAR* _p) : mir_ptr(_p) {}
- __inline ~pass_ptrW() { zero(); mir_ptr::~mir_ptr(); }
+ __inline ~pass_ptrW() { zero(); }
__inline void zero()
{ WCHAR *_data = mir_ptr::operator WCHAR *();
if (_data) SecureZeroMemory(_data, mir_wstrlen(_data)*sizeof(WCHAR));
|