git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e2498
)
Fix a memory leak in pdb_tdb.c.
author
Volker Lendecke
<vlendec@samba.org>
Tue, 17 Jun 2003 12:03:48 +0000
(12:03 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Tue, 17 Jun 2003 12:03:48 +0000
(12:03 +0000)
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
)
source3/passdb/pdb_tdb.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_tdb.c
b/source3/passdb/pdb_tdb.c
index 912634a1b155e461b22990025e84dd5cf1c19dab..d323c20d32d981efc7b5a2a4617e7c2310f9f490 100644
(file)
--- 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;
}