ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()
commit8d33cddcb001a5a78aca036161d6223268274211
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Jul 2014 14:17:56 +0000 (16 16:17 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Jul 2014 22:51:57 +0000 (17 00:51 +0200)
tree6d6de3d4a96ffdf6a135d0a405e219c1643b9ec4
parentdff649f3e7e245c480ecdae06e53f4ffa2a592de
ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()

Searches for '(objectCategory=Person)' will leak a ldb_dn structure
on the ldb_context. These searches are typically used by Zarafa.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10469

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul 17 00:51:57 CEST 2014 on sn-devel-104
lib/ldb-samba/ldif_handlers.c