svn rev #19852: trunk/src/windows/identity/uilib/

jaltman@MIT.EDU jaltman at MIT.EDU
Fri Aug 24 10:20:31 EDT 2007


Commit By: jaltman
Log Message: 
ticket: new
subject: NIM: resource leak in khui_action_trigger()
component: windows

The khui_action_trigger() function in the Network Identity Manager API
creates a copy of the current user interface context (which contains
information about the credentials and identities that are currently
selected) before triggering the requested action.  Then it will use
the copy to restore the user interface context to its previous state.
A coding error results in the copy of the context to never be
released.  As a result there is a resource leak.

The attached patch fixes the leak by releasing the context once it
is no longer needed.



Changed Files:
U   trunk/src/windows/identity/uilib/action.c



More information about the cvs-krb5 mailing list