diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-14 19:48:32 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-14 19:48:32 +0000 |
commit | 76be0eb2a5a941758db7b5b157d338c145e54a37 (patch) | |
tree | 9656b053bc08ef21e1d91c815194857988fe9fc0 /protocols/SkypeClassic/src | |
parent | 1338e9be37bc4dd741407fd39e7e430e12901345 (diff) |
SkypeClassic:
-Fixed memory leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@11855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src')
-rw-r--r-- | protocols/SkypeClassic/src/skypeapi.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/SkypeClassic/src/skypeapi.cpp b/protocols/SkypeClassic/src/skypeapi.cpp index 23c2102e8d..5d85a44b29 100644 --- a/protocols/SkypeClassic/src/skypeapi.cpp +++ b/protocols/SkypeClassic/src/skypeapi.cpp @@ -176,7 +176,6 @@ void rcvThread(char *dummy) { }
}
LOG(("rcvThread Received length, recieving message.."));
- buf=(char *)calloc(1, length+1);
if (rcv==0 || !(buf=(char *)calloc(1, length+1)) ||
!(rcv = Recv(ClientSocket, buf, length))) {
rcvThreadRunning=FALSE;
|