Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-716-g12cce3b
authorVolker Lendecke <Volker.Lendecke@SerNet.DE>
Wed, 19 Dec 2007 12:48:49 +0000 (13:48 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 19 Dec 2007 18:16:43 +0000 (10:16 -0800)
commit5b72828600fb057a7aeb5f1a6fb6c23c23f28cd8
tree6471b2636f7afa56318c2b53faef259857e426ac
parent0af02db6f2f84a8ce5d614e5baec27f20b413c26
Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-716-g12cce3b

On Tue, Dec 18, 2007 at 06:04:32PM -0600, Jeremy Allison wrote:
>     Fix valgrind error in dbwrap_rbt where rec_priv->node was
>     being accessed after free. VALOKER PLEASE CHECK THIS VERY
>     CAREFULLY !!!! This is a correct fix in that it fixes the
>     valgrind error, but it looks inelegant to me. I think if
>     I understood this code better I could craft a more subtle
>     fix. Still looking at it....

Thanks a lot. Fully correct. What about the attached little
simplification?

Volker
source/lib/dbwrap_rbt.c