diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-07-01 13:04:50 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-07-01 13:04:50 +0000 |
commit | f13e48e2ee205036983fb5c2abe28b4bfaa31856 (patch) | |
tree | 294f10ca2fd8ef2446322cc200c3c542fd4daddb /source3/tdb | |
parent | b78dd91e68d6273d1fcd3470b1c3c333047fb186 (diff) | |
download | samba-f13e48e2ee205036983fb5c2abe28b4bfaa31856.tar.gz samba-f13e48e2ee205036983fb5c2abe28b4bfaa31856.tar.bz2 samba-f13e48e2ee205036983fb5c2abe28b4bfaa31856.zip |
Different fix for memleak just committed. This belongs into
tdb_search_list_free.
Volker
(This used to be commit 0f3822c8e71426983b960ad49511efa8707159f9)
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdbutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c index 19dfe642df..595062dc87 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -821,6 +821,7 @@ void tdb_search_list_free(TDB_LIST_NODE* node) while (node) { next_node = node->next; + SAFE_FREE(node->node_key.dptr); SAFE_FREE(node); node = next_node; }; |