From 76be0eb2a5a941758db7b5b157d338c145e54a37 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 14 Jan 2015 19:48:32 +0000 Subject: SkypeClassic: -Fixed memory leak git-svn-id: http://svn.miranda-ng.org/main/trunk@11855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeClassic/src/skypeapi.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'protocols/SkypeClassic') 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; -- cgit v1.2.3