git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70164d
)
ctdb-client: Client code should never free the client context
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 8 Mar 2018 00:35:55 +0000
(11:35 +1100)
committer
Martin Schwenke
<martins@samba.org>
Fri, 9 Mar 2018 06:08:23 +0000
(07:08 +0100)
This should never have been done.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_connect.c
patch
|
blob
|
history
diff --git
a/ctdb/client/client_connect.c
b/ctdb/client/client_connect.c
index 89a602d4030b43e74f3fe35234719cc79659541b..1e4157e94ffe8a58a38bd8e68ed55ed25ab845d5 100644
(file)
--- a/
ctdb/client/client_connect.c
+++ b/
ctdb/client/client_connect.c
@@
-297,7
+297,6
@@
static void client_dead_handler(void *private_data)
ctdb_client_callback_func_t callback = client->callback;
void *callback_data = client->private_data;
- talloc_free(client);
if (callback != NULL) {
callback(callback_data);
return;