diff options
author | Christopher R. Hertel <crh@samba.org> | 2000-06-13 19:29:32 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2000-06-13 19:29:32 +0000 |
commit | 50599b0fa2b78109e3bd2cf50007dc69c4059955 (patch) | |
tree | 8f63ffae65de26f9c67cd208eb80f5ad56a7b5fa /source/smbd/mangle.c | |
parent | 7d0f9258589c2856dbc54a10ee35c26201d16f41 (diff) | |
download | samba-50599b0fa2b78109e3bd2cf50007dc69c4059955.tar.gz |
Removed a patch that Andrew had added because 'insure' was incorrectly
reporting a memory leak in the cache module. I've modified the cache
code to prevent insure getting confused, so the patch can now be removed.
Diffstat (limited to 'source/smbd/mangle.c')
-rw-r--r-- | source/smbd/mangle.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/smbd/mangle.c b/source/smbd/mangle.c index 8ac91d49c81..1cc602dc051 100644 --- a/source/smbd/mangle.c +++ b/source/smbd/mangle.c @@ -576,15 +576,6 @@ static void cache_mangled_name( char *mangled_name, char *raw_name ) s2 = (char *)&(s1[mangled_len + 1]); (void)StrnCpy( s1, mangled_name, mangled_len ); (void)StrnCpy( s2, raw_name, raw_len ); - - /* possibly delete an old entry - this avoids a memory leak in the - ubi code to do with overwriting existing entries. - - remove this test when ubi gets fixed */ - if (ubi_cacheGet(mangled_cache, s1)) { - ubi_cacheDelete(mangled_cache, s1); - } - ubi_cachePut( mangled_cache, i, new_entry, s1 ); } /* cache_mangled_name */ |