and must be freed with LocalFree().
ticket: 2561
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16339
dc483132-0cff-0310-8789-
dd5450dbe970
* 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>
cleanup:
if ( pTicketRequest )
- LsaFreeReturnBuffer(pTicketRequest);
+ LocalFree(pTicketRequest);
if (FAILED(Status) || FAILED(SubStatus))
{