Fix a winbind memleak
authorVolker Lendecke <vl@samba.org>
Fri, 24 Jul 2009 23:03:45 +0000 (19:03 -0400)
committerVolker Lendecke <vl@samba.org>
Sat, 25 Jul 2009 16:59:20 +0000 (12:59 -0400)
source3/winbindd/winbindd.c

index 34eaeb2d79b32f39603288f991b32b1a05645e6f..49faae116a4ab7ea45e753c0d6e85e11d1808d93 100644 (file)
@@ -754,6 +754,7 @@ static void winbind_client_request_read(struct tevent_req *req)
        int err;
 
        ret = wb_req_read_recv(req, state, &state->request, &err);
+       TALLOC_FREE(req);
        if (ret == -1) {
                DEBUG(2, ("Could not read client request: %s\n",
                          strerror(err)));