ctdb: Fixing memory leak in ctdb_tcp_tnode_cb
authorSwen Schillig <swen@vnet.ibm.com>
Tue, 13 Mar 2018 08:42:24 +0000 (09:42 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 30 Mar 2018 22:07:18 +0000 (00:07 +0200)
commit611c9a0ba9472aae17a3099da20ea2d836cef84a
treebd1cb15afcccfd73a06d771733c9885b3ba462b8
parent22299f9898ddb84db47b5372ca3cd49c3ec4a1f5
ctdb: Fixing memory leak in ctdb_tcp_tnode_cb

It is expected by the caller(queue_process) that the callback is
free'ing the memory referenced by the data pointer.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
ctdb/tcp/tcp_connect.c