recvFd: fix memory leak

Fixes #138.