s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()
authorKamen Mazdrashki <kamenim@samba.org>
Fri, 9 Jul 2010 18:54:21 +0000 (21:54 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Sat, 10 Jul 2010 20:03:14 +0000 (23:03 +0300)
commitff73f299f8e7e2923b823b63c46db744c6be9864
treeadbad65c88168c9adee3553cf4b3ead1397f2cd2
parent82675f70d2f42e10c8f7f4e4a86d542b86566700
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()
source4/lib/ldb/common/ldb_msg.c