summaryrefslogtreecommitdiff
path: root/source3/lib/adt_tree.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-19 22:16:03 +0000
committerGerald Carter <jerry@samba.org>2002-07-19 22:16:03 +0000
commit3c0a9c46d8057b9499d7d48a67ba15f9942d558a (patch)
tree7f0d36ed16565c30afeba9f1dec14c2f3d486391 /source3/lib/adt_tree.c
parent12e237da6813ca6a40410c73c75152a840f4ea61 (diff)
downloadsamba-3c0a9c46d8057b9499d7d48a67ba15f9942d558a.tar.gz
samba-3c0a9c46d8057b9499d7d48a67ba15f9942d558a.tar.bz2
samba-3c0a9c46d8057b9499d7d48a67ba15f9942d558a.zip
fixed seg fault in registry frontend caused by trying to
use a destroyed TALLOC_CTX* (This used to be commit 432b9f8d7c20fbf3b2a0906c8a93272abbe43fb6)
Diffstat (limited to 'source3/lib/adt_tree.c')
-rw-r--r--source3/lib/adt_tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/adt_tree.c b/source3/lib/adt_tree.c
index 3a6e722c97..9c4ad423c1 100644
--- a/source3/lib/adt_tree.c
+++ b/source3/lib/adt_tree.c
@@ -420,6 +420,8 @@ void* sorted_tree_find( SORTED_TREE *tree, char *key )
} while ( base && current );
/* result should be the data_p from the lowest match node in the tree */
+ if ( result )
+ DEBUG(10,("sorted_tree_find: Found data_p!\n"));
SAFE_FREE( keystr );