s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()
authorKamen Mazdrashki <kamenim@samba.org>
Fri, 16 Jul 2010 10:47:41 +0000 (13:47 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 19 Jul 2010 07:33:34 +0000 (17:33 +1000)
commit48574ccc3f46a58940a06b524ff3be3c6da6b104
tree29ac21f84fe097f26c7227fb370466dafab22a90
parent3944c81d08177e7fa360b1925648686c729e2773
s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()

Previous implementation was 'leaking' attribute name
string, that is allocated by ldb_msg_add_empty()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/common/ldb_msg.c