diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-05-23 05:14:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:30 -0500 |
commit | 8d130005a1d124d6d534a36be9de79e988c63e14 (patch) | |
tree | e444327920b4dc2567c1fc58ef69a5ef71fe3c55 /source4/kdc/kdc.c | |
parent | 97d489b21c692815adc4849538a5db7340439e7f (diff) | |
download | samba-8d130005a1d124d6d534a36be9de79e988c63e14.tar.gz samba-8d130005a1d124d6d534a36be9de79e988c63e14.tar.bz2 samba-8d130005a1d124d6d534a36be9de79e988c63e14.zip |
r15830: fixed two kdc memory leaks
(This used to be commit cc290ece92196d2bdf39eaa9d3bb4a0af6ec782c)
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r-- | source4/kdc/kdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index 4ce17a8718..10e0764e23 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -127,7 +127,7 @@ static void kdc_recv_handler(struct kdc_socket *kdc_socket) return; } - blob = data_blob_talloc(kdc_socket, NULL, dsize); + blob = data_blob_talloc(tmp_ctx, NULL, dsize); if (blob.data == NULL) { /* hope this is a temporary low memory condition */ talloc_free(tmp_ctx); |