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)
commit873b6f0f21e61be6e4f7084fc0ded768dfa077ab
tree9398cd0eaacc42c586a51522399b5e08e088eee6
parenta37873490f2c4e89e98780203d13e2f21a6ecebf
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
(This used to be commit 5b72828600fb057a7aeb5f1a6fb6c23c23f28cd8)
source3/lib/dbwrap_rbt.c