Maarten Lankhorst maarten@codeweavers.com writes:
Oops, thanks for catching that. Apparantly it somehow didn't complete crash for me. In the error paths I also found that I forgot to call the cleanup functions, so I'll send a revised patch.
Actually you probably don't want to free the library at all. If there are multiple files to install loading/unloading wintrust for each file would be expensive.