svn commit: samba r19312 - in branches/SAMBA_4_0/source/lib/ldb/modules: .

2006-10-15 Thread idra
Author: idra Date: 2006-10-16 02:45:18 + (Mon, 16 Oct 2006) New Revision: 19312 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19312 Log: This should fix a nasty bug with values and names being freed before the results where used. Seem that el is hanging out of

Re: svn commit: samba r19312 - in branches/SAMBA_4_0/source/lib/ldb/modules: .

2006-10-16 Thread Stefan (metze) Metzmacher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > + *old = *el; > + /* and make sure we reference the contents */ > + talloc_reference(msg->elements, el->name); > + talloc_reference(msg->elements, el->values); Hi Simo, talloc_reference() can fail, please handle that here... metze