summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-17 12:03:48 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-17 12:03:48 +0000
commit9606397ab1216f995c017957da619a00394b5c7f (patch)
treef063a156c1aefab1937f60bd4c0810ea41acabb1 /source3/passdb
parentc0e24984f0596a5aa9181913c3bd67419f7b70f7 (diff)
downloadsamba-9606397ab1216f995c017957da619a00394b5c7f.tar.gz
samba-9606397ab1216f995c017957da619a00394b5c7f.tar.bz2
samba-9606397ab1216f995c017957da619a00394b5c7f.zip
Fix a memory leak in pdb_tdb.c.
Simo, I remember you complaining about a memleak there, could it be this one, or did you resolve it at that time? Volker (This used to be commit c660595deda2ce836c0a191da0236f850004ba0d)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_tdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 912634a1b1..d323c20d32 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -242,6 +242,8 @@ done:
SAFE_FREE(acct_desc);
SAFE_FREE(workstations);
SAFE_FREE(munged_dial);
+ SAFE_FREE(unknown_str);
+ SAFE_FREE(hours);
return ret;
}