tidy-up: use curlx_safefree()

Closes #21700
This commit is contained in:
Viktor Szakats 2026-05-20 20:43:59 +02:00
parent d3b04e5600
commit bcd0497c81
No known key found for this signature in database
19 changed files with 41 additions and 80 deletions

View file

@ -302,8 +302,7 @@ static OM_uint32 stub_gss_delete_sec_context(
return GSS_S_FAILURE;
}
curlx_free(*context);
*context = NULL;
curlx_safefree(*context);
*min = 0;
return GSS_S_COMPLETE;