Add authgss_free_private_data interface.
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · NeilBrown
This is a necessary partner to
authgss_get_private_data, so that the caller can free the data when needed (and not before).The previous practice of leaving the private data where it was resulted in
authgss_destroy_context()attempting to destroy the context on the server which was incorrect, and fortunately fails for other reasons.
Quoted 8 lines
An application which uses
authgss_get_private_data()but does not callauthgss_free_private_data()will be as correct as, or slightly more correct than, it was, but will suffer a slight memory leak.This patch is based on commit
07fce317cac267509b944a8191cafa8e49b5e328from librpcsecgss that was committed by Kevin Coffman.Signed-off-by NeilBrown <[email protected]>
Committed...
steved.