On Wed, Jul 16, 2008 at 12:54 PM, Lei Zhang <thestig at google.com> wrote: > Hi, > > We should clear the out pointer on failure, so the caller won't access bad data. > Anything wrong with this patch? Should I check the return value from XDG_UserDirLookup() instead?