[2/2] server: A being destroyed object may need to access other objects using a handle.

Alexandre Julliard julliard at winehq.org
Fri May 24 04:08:33 CDT 2013


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> --- a/server/handle.c
> +++ b/server/handle.c
> @@ -165,7 +165,6 @@ static void handle_table_destroy( struct object *obj )
>      for (i = 0, entry = table->entries; i <= table->last; i++, entry++)
>      {
>          struct object *obj = entry->ptr;
> -        entry->ptr = NULL;
>          if (obj) release_object( obj );

You can't do that, the object can't be accessed after being released.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list