summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ChangeLog3
-rw-r--r--src/lib/krb5/ccache/cc_mslsa.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog
index aabd2f29a..6d469a50a 100644
--- a/src/lib/krb5/ccache/ChangeLog
+++ b/src/lib/krb5/ccache/ChangeLog
@@ -3,7 +3,8 @@
* cc_mslsa.c: The FAILED() macro only considered an error
to be a failure if the value is negative. ConstructTicketRequest()
returns positive errors. Do not use FAILED() to test the result.
- Also, fix a potential leak of LSA allocated memory.
+ Fix a potential leak of LSA allocated memory. Fix a leak of
+ LocalAlloc memory.
2004-04-24 Ken Raeburn <raeburn@mit.edu>
diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c
index 73d6b7096..93a938d82 100644
--- a/src/lib/krb5/ccache/cc_mslsa.c
+++ b/src/lib/krb5/ccache/cc_mslsa.c
@@ -854,7 +854,7 @@ GetMSTGT(HANDLE LogonHandle, ULONG PackageId,KERB_EXTERNAL_TICKET **ticket)
cleanup:
if ( pTicketRequest )
- LsaFreeReturnBuffer(pTicketRequest);
+ LocalFree(pTicketRequest);
if (FAILED(Status) || FAILED(SubStatus))
{