ldb: Do not allocate the extended DN name
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Jun 2016 01:28:59 +0000 (13:28 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 26 Jun 2016 22:18:17 +0000 (00:18 +0200)
commit4fb23630ba3f5e17f41c40b90f423a20987db594
treebe4964b0cdea0123dceea64db997c819b8bc94c4
parentab4cd63e102c6ef9e4fa9af83b7c763a5e901a40
ldb: Do not allocate the extended DN name

The name must be a hard-coded value from struct ldb_dn_extended_syntax
so just point to that constant pointer

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/common/ldb_dn.c