Fix more valgrind issues.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 29 Mar 2008 02:32:15 +0000 (13:32 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 29 Mar 2008 02:32:15 +0000 (13:32 +1100)
commiteefd46289b90967ce6b4cd385fb1f7e1d6f9b343
tree1b53fc1275decdc2aaf36f89b1a879be71f3c7f8
parent95314f29a9cf83db71d37e68728bfb5009fce60d
Fix more valgrind issues.

This passes down the timeout more consistantly, and ensures that no
matter how the modules screw up, we don't free() the memory we are
going to write into the ASN1 packet until we actually write it out.

Andrew Bartlett
source/dsdb/samdb/ldb_modules/linked_attributes.c
source/dsdb/samdb/ldb_modules/subtree_rename.c
source/ldap_server/ldap_backend.c
source/ldap_server/ldap_server.c