[vlc-devel] [PATCH 3/3] posix: use strerror_r() if strerror_l() is unimplemented

Rémi Denis-Courmont remi at remlab.net
Sun Sep 13 11:00:19 CEST 2015


Le 2015-09-13 04:30, Sean McGovern a écrit :
>>> +    }
>>> +
>>> +    return buf;
>>
>> Memory leak.
>
> Doesnt the calling function need to take ownership of whatever this
> returns anyhow?

No. This would be obvious if you looked at any call site.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list