Skip to content
Snippets Groups Projects
Unverified Commit 7b367d5c authored by Daniel Kouřil's avatar Daniel Kouřil
Browse files

Fix free'ing krb5 data structures

parent 842881c1
No related branches found
No related tags found
No related merge requests found
Pipeline #3633 failed
......@@ -113,7 +113,8 @@ doit(const char *sent_creds, const char *ccname_file)
ret = 0;
end:
krb5_free_data(context, &creds_data);
if (creds_data.data)
krb5_data_free(context, &creds_data);
if (auth_context)
krb5_auth_con_free(context, auth_context);
if (creds) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment