PREVIEW: alter ldb_msg_canonicalize to allocate memory in NULL
authorKamen Mazdrashki <kamenim@samba.org>
Sun, 4 Jul 2010 19:11:53 +0000 (22:11 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Sun, 4 Jul 2010 19:11:53 +0000 (22:11 +0300)
commite1b270aec379511599766675295c47744be03b95
tree5ecf1b27f8363ba5972d92ec381bf25623189ed7
parentf8c3d3ca1611cb1fb9f5982e51112dc8e99afa3d
PREVIEW: alter ldb_msg_canonicalize to allocate memory in NULL

Returned message will be allocated into NULL memory
context. It is strongly advised for callers to steal
the message returned into a local memory context.
Allocating ldb_msg into NULL context should appear
as memory leak (kind of) and thus make it easier to identify
places where ldb_msg_canonicalize() is misused
source4/lib/ldb/common/ldb_msg.c