[vlc-devel] [PATCH 3/3] poll: report ENOMEM when malloc fails

Steve Lhomme robux4 at gmail.com
Fri Nov 27 12:52:06 CET 2015


On Fri, Nov 27, 2015 at 12:40 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-11-27 14:25, Steve Lhomme a écrit :
>>
>> On Fri, Nov 27, 2015 at 11:54 AM, Rémi Denis-Courmont
>> <remi at remlab.net> wrote:
>>>
>>> Le 2015-11-26 19:57, Steve Lhomme a écrit :
>>>>
>>>>
>>>> similar to a few lines further
>>>
>>>
>>>
>>> This patch makes obviously no sense.
>>
>>
>> Who wrote this line ?
>>
>>
>> http://git.videolan.org/?p=vlc.git;a=blob;f=compat/poll.c;h=fa94c932ccfa57eda8a37874de60712c1b305718;hb=HEAD#l163
>
>
> Either Hannes or I? And?

Ah, I see what you mean. malloc() should already set ENOMEM when it fails.

Please discard this patch.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list