Rev 236: fixed a memory leak in the ctdb_control code in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Wed May 2 19:51:47 GMT 2007
------------------------------------------------------------
revno: 236
revision-id: tridge at samba.org-20070502195146-3e77ekh35mpfa42k
parent: tridge at samba.org-20070502192114-f33n5eur6vzyi8xt
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Thu 2007-05-03 05:51:46 +1000
message:
fixed a memory leak in the ctdb_control code
modified:
common/ctdb_daemon.c ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
=== modified file 'common/ctdb_daemon.c'
--- a/common/ctdb_daemon.c 2007-05-02 01:02:04 +0000
+++ b/common/ctdb_daemon.c 2007-05-02 19:51:46 +0000
@@ -810,7 +810,7 @@
/* construct a message to send to the client containing the data */
len = offsetof(struct ctdb_reply_control, data) + data.dsize;
- r = ctdbd_allocate_pkt(ctdb, client, CTDB_REPLY_CONTROL, len,
+ r = ctdbd_allocate_pkt(ctdb, state, CTDB_REPLY_CONTROL, len,
struct ctdb_reply_control);
CTDB_NO_MEMORY_VOID(ctdb, r);
More information about the samba-cvs
mailing list