diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-10-02 00:54:34 -0700 |
---|---|---|
committer | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-10-02 10:00:42 -0700 |
commit | fc137ee27221f151f44a2ec2022065e06d6c62a9 (patch) | |
tree | 6e29dc0da486fe7cf1dd08708cfadf762c9043b0 /tests/libtest/lib516.c | |
parent | 79cd7ef9ab52de98bffcbd1c8db6103ff985a263 (diff) |
krb5-gssapi: Removed a memory leak in krb5_auth.
We forgot to release the buffer passed to gss_init_sec_context.
The previous logic was difficult to read as we were reusing the same
variable (gssbuf) for both input buffer and output buffer. Splitted the
logic in 2 variables to better underline who needs to be released.
Also made the code break at 80 lines.
Diffstat (limited to 'tests/libtest/lib516.c')
0 files changed, 0 insertions, 0 deletions