summaryrefslogtreecommitdiffstats
path: root/ctdb/common/ctdb_message.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-04-16 10:21:44 +1000
committerAndrew Tridgell <tridge@samba.org>2007-04-16 10:21:44 +1000
commit34bf25e227270b7cf00d2e7e9477bb5ddff9222b (patch)
treeabb1b9919f700f0d9e3808c8d55be26b210c8118 /ctdb/common/ctdb_message.c
parent5f592876d18f3aa4ea9b5b7b9410f083b45a82a7 (diff)
downloadsamba-34bf25e227270b7cf00d2e7e9477bb5ddff9222b.tar.gz
samba-34bf25e227270b7cf00d2e7e9477bb5ddff9222b.tar.xz
samba-34bf25e227270b7cf00d2e7e9477bb5ddff9222b.zip
- fix includes to work in both samba4 and ctdb standalone
- when we do a store_unlock the lock record becomes unlocked, so we must destroy it (or we leak memory) (This used to be ctdb commit d85955640e670dd580073da96b25fb8a10c08d18)
Diffstat (limited to 'ctdb/common/ctdb_message.c')
-rw-r--r--ctdb/common/ctdb_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/ctdb_message.c b/ctdb/common/ctdb_message.c
index b291258b013..dba15aecb93 100644
--- a/ctdb/common/ctdb_message.c
+++ b/ctdb/common/ctdb_message.c
@@ -27,7 +27,7 @@
#include "system/network.h"
#include "system/filesys.h"
#include "../include/ctdb_private.h"
-
+#include "lib/util/dlinklist.h"
/*
this dispatches the messages to the registered ctdb message handler