"Ge van Geldorp" <[EMAIL PROTECTED]> writes: >> From: Alexandre Julliard [mailto:[EMAIL PROTECTED] >> 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. -- Alexandre Julliard [EMAIL PROTECTED]