summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-24 19:03:45 -0400
committerVolker Lendecke <vl@samba.org>2009-07-25 12:59:20 -0400
commit8cba97a16459eb1b1dc18c85e542ca571490ec5f (patch)
tree89ce2203c1f550c3623c230366a1290a83731393 /source3/winbindd
parent6b167ae53b1774950d76a15ba92d9f24e59bc565 (diff)
downloadsamba-8cba97a16459eb1b1dc18c85e542ca571490ec5f.tar.gz
samba-8cba97a16459eb1b1dc18c85e542ca571490ec5f.tar.bz2
samba-8cba97a16459eb1b1dc18c85e542ca571490ec5f.zip
Fix a winbind memleak
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 34eaeb2d79..49faae116a 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -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)));