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)
committerKamen Mazdrashki <kamenim@samba.org>
Fri, 16 Jul 2010 11:29:11 +0000 (14:29 +0300)
commit665879d2a21db4619e5f7fbb98429abdbb684174
tree09efafe8d8fe5557b0acf3bf602ac8f2f9925e0d
parent5035b8b4647eabd4d2d42ebca8f9bc84a5b35294
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