[2/2] server: Remove a not necessary check for 'current' being not NULL.

Alexandre Julliard julliard at winehq.org
Mon May 13 04:42:49 CDT 2013


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> > 'current' is already dereferenced twice before this point.
>> > ---
>> >  server/request.c | 23 ++++++++++-------------
>> >  1 file changed, 10 insertions(+), 13 deletions(-)
>> 
>> You can't do that.
>
> Is there a reason why? Can 'current' be set to NULL by a request handler?

Yes.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list