libeech

BitTorrent library
git clone git://z3bra.org/libeech.git
Log | Files | Refs | README | LICENSE

commit b5d392cf923e35b7d2dee33ca323447b4004f270
parent 51e138421357f7f58a511bb0eb9656aa9ed1674c
Author: z3bra <contactatz3bradotorg>
Date:   Wed, 11 Jul 2018 08:09:27 +0200

Free a forgotten malloc()

Diffstat:
libeech.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/libeech.c b/libeech.c @@ -947,6 +947,9 @@ netloop(struct torrent *t, int timeout) pfds.p[i]->state |= (CONNECTED|SEEDING|LEECHING|AMCHOKING); } + free(pfds.p); + free(pfds.fds); + return npeer; }