ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()
commit1a9a02d15a3684023d24b4c237d17a4ff832eff4
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Jul 2014 14:17:56 +0000 (16 16:17 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 19 Jul 2014 03:25:11 +0000 (19 05:25 +0200)
treeb504328a4ffd6cee987ac2400f64e88629ac33ad
parent6526cb7a94a12bf911c58072debb7aec69975dd0
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-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Sat Jul 19 05:25:12 CEST 2014 on sn-devel-104
lib/ldb-samba/ldif_handlers.c