diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-18 19:18:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:17 -0500 |
commit | 9d19e5294042e4de2c0eb70ee8b17993ebce211d (patch) | |
tree | 692d10ecddf3a5e76452ea48acb1621d66a55d4f /source3 | |
parent | 00deaa584c552e1dbf917d240f438977dbbc9b4c (diff) | |
download | samba-9d19e5294042e4de2c0eb70ee8b17993ebce211d.tar.gz samba-9d19e5294042e4de2c0eb70ee8b17993ebce211d.tar.bz2 samba-9d19e5294042e4de2c0eb70ee8b17993ebce211d.zip |
r20880: Fix memory leak in new sitename code. You got *really*
close Guenther, then you forgot to use "key" :-) :-).
Jeremy.
(This used to be commit 56842b59d00d531b0c9c22639603dc721eab50b4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c index b405d29d96..008266ea0b 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -617,7 +617,7 @@ BOOL sitename_store(const char *realm, const char *sitename) if (!sitename || (sitename && !*sitename)) { DEBUG(5,("sitename_store: deleting empty sitename!\n")); - ret = gencache_del(sitename_key(realm)); + ret = gencache_del(key); SAFE_FREE(key); return ret; } |