git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
13aa693
)
r535: Another memleak fix from kawasa_r@itg.hitachi.co.jp
author
Jeremy Allison
<jra@samba.org>
Thu, 6 May 2004 23:11:20 +0000
(23:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:51:27 +0000
(10:51 -0500)
Jeremy.
(This used to be commit
2d52562691d59b44546225454f6fff5b64552de8
)
source3/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_cache.c
b/source3/nsswitch/winbindd_cache.c
index e10fa2255c0f29cd77933e12696e87ae15bff096..877fa2d995c15d4f940c94495e56884b4766db4f 100644
(file)
--- a/
source3/nsswitch/winbindd_cache.c
+++ b/
source3/nsswitch/winbindd_cache.c
@@
-276,6
+276,8
@@
static NTSTATUS fetch_cache_seqnum( struct winbindd_domain *domain, time_t now )
domain->sequence_number = IVAL(data.dptr, 0);
domain->last_seq_check = IVAL(data.dptr, 4);
+ SAFE_FREE(data.dptr);
+
/* have we expired? */
time_diff = now - domain->last_seq_check;