[vlc-devel] [PATCH] npapi: zero NPClass before using.
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Thu Dec 1 12:20:08 CET 2011
On Thu, Dec 1, 2011 at 9:59 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Thu, Dec 01, 2011 at 09:13:06AM +0700, Sergey Radionov wrote :
>>
>
> Wouldn't setting the unset parameters to NULL be faster, and more
> elegant?
>
> Best regards,
>
Faster, I don't know, but if at some point this class/struct has some
virtual methods, you're pretty much doomed. (I haven't read this code,
it was just my 2 cents :) )
--
Hugo Beauzée-Luyssen
More information about the vlc-devel
mailing list