ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Jul 2014 14:17:56 +0000 (16:17 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 17 Jul 2014 21:07:23 +0000 (23:07 +0200)
commit00b7b14ac5472c0d981ba9ab6118c02e30a2949c
tree8cb061ca88c81a8e17b5bc5259cd602d87a6c79d
parent690012edb6cd0098ae76ddf461dce3c85731ff09
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

(cherry picked from commit 8d33cddcb001a5a78aca036161d6223268274211)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Thu Jul 17 23:07:24 CEST 2014 on sn-devel-104
lib/ldb-samba/ldif_handlers.c