The issue was that we would free the entry after the database, not knowing that the entry was a talloc child of the database. Andrew Bartlett Signed-off-by: Love Hornquist Astrand <lha@h5l.org>