2007-08-01 Michael Snyder <msnyder@access-company.com>
* remote-utils.c (putpkt_binary): Memory leak, free buf2.
This commit is contained in:
parent
3cebf8d882
commit
f88c79e6bb
@ -1,3 +1,7 @@
|
||||
2007-08-01 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* remote-utils.c (putpkt_binary): Memory leak, free buf2.
|
||||
|
||||
2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
* win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
|
||||
|
@ -549,6 +549,7 @@ putpkt_binary (char *buf, int cnt)
|
||||
if (write (remote_desc, buf2, p - buf2) != p - buf2)
|
||||
{
|
||||
perror ("putpkt(write)");
|
||||
free (buf2);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user