diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-01-19 06:13:17 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-01-19 06:13:17 +0000 |
commit | 15877bd0e2177fe045e9a7097a7b836053b1a491 (patch) | |
tree | 70cd0ca7434e4370f041308979009d3a50eb353c /protocols/Tox/src/tox_proto.cpp | |
parent | a8af35bf6e3de34405ce5dbc3b035039a9ee4806 (diff) |
Tox: fixed resuming for broken files
git-svn-id: http://svn.miranda-ng.org/main/trunk@11876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r-- | protocols/Tox/src/tox_proto.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index b5be241c0f..36dba649ea 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -46,11 +46,15 @@ CToxProto::CToxProto(const char* protoName, const TCHAR* userName) : CreateProtoService(PS_GETMYAVATART, &CToxProto::GetMyAvatar);
CreateProtoService(PS_SETMYAVATART, &CToxProto::SetMyAvatar);
+ // transfers
+ transfers = new CTransferList();
+
hToxEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
}
CToxProto::~CToxProto()
{
+ delete transfers;
mir_free(accountName);
UninitNetlib();
}
|