s3:smbldap: use smbldap_state as memory context for idle event
authorGregor Beck <gbeck@sernet.de>
Tue, 21 Jun 2011 05:51:41 +0000 (07:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Jul 2011 09:22:56 +0000 (11:22 +0200)
commit343ef46b9b764bfab93bad3fdcb4031adcc6f7db
treed0c79ea15d302d55b17bac7859c49e6e40a855f2
parentf3c3768d30410de8b0cc8b2ef078640bdc0864d4
s3:smbldap: use smbldap_state as memory context for idle event

ensure the event is canceled if the smbldap_state gets freed
this fixes a panic of winbindd if verify_idpool fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/lib/smbldap.c