diff options
author | Volker Lendecke <vl@samba.org> | 2015-06-15 14:47:50 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-06-15 19:56:45 +0200 |
commit | 04c6879b9b3fa9a83d9d55c9088a506385b2f290 (patch) | |
tree | 3aa9c641dd82c2b2ef651d0d53393ff2b8bc6624 /source3 | |
parent | 1c9ff5089105a708b3277fcfa0891aff41aae056 (diff) | |
download | samba-04c6879b9b3fa9a83d9d55c9088a506385b2f290.tar.gz |
ctdbd_conn: Fix a leak on talloc_tos()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 9ad58fe1415..7a95b79c9ac 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -597,6 +597,9 @@ static void ctdbd_socket_handler(struct tevent_context *event_ctx, } status = ctdb_handle_message(conn, hdr); + + TALLOC_FREE(hdr); + if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("could not handle incoming message: %s\n", nt_errstr(status))); |