diff options
author | Simo Sorce <idra@samba.org> | 2004-03-08 09:52:17 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2004-03-08 09:52:17 +0000 |
commit | 9c15b5b0ec08bd13a7f3e888482165207926e7f9 (patch) | |
tree | f1d4cf6d9869b52c6015e862adc42b28b0f5844e /source3/passdb | |
parent | cd1be774adc1a2509d93e65e48088b5351c99a13 (diff) | |
download | samba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.tar.gz samba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.tar.bz2 samba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.zip |
2 fixes to enhance readability of source code and debug messages
1 fix for a memleak
(This used to be commit 9f3b0295fe7bd6c0c3a6061e5d00e7b88f702b21)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 7c9376e045..273428dacf 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1892,6 +1892,8 @@ BOOL init_sam_from_buffer_v1(SAM_ACCOUNT *sampass, uint8 *buf, uint32 buflen) done: + SAFE_FREE(lm_pw_ptr); + SAFE_FREE(nt_pw_ptr); SAFE_FREE(username); SAFE_FREE(domain); SAFE_FREE(nt_username); |