ctdb-daemon: Talloc tdb_wrap off ctdb_db_context
authorAmitay Isaacs <amitay@gmail.com>
Sun, 20 Apr 2014 10:52:03 +0000 (20:52 +1000)
committerMichael Adam <obnox@samba.org>
Wed, 23 Apr 2014 12:49:07 +0000 (14:49 +0200)
commitd9d3af7baa78c106197b222010098176a8bc6079
treea5311fcfcd10fab0e554961f4c132ee22166eda8
parentbf83abced4e5219c40c93098e014944e19c04cb5
ctdb-daemon: Talloc tdb_wrap off ctdb_db_context

This will ensure that when ctdb_db is freed, it will close the tdb
database.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_ltdb_server.c