"Ge van Geldorp" ge@thinstall.com writes:
From: Alexandre Julliard [mailto:julliard@winehq.org] You should return a string directly, there's no reason to make a copy of the SID.
There's no way for the caller to free the memory if I return UserInfo->User.Sid directly.
Of course, that's why I said you should return the string, not the SID. There's no reason to split that functionality into two separate functions.