server: Initialize the object permanent flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49889 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ab9ded062f
commit
50e2c62a60
|
@ -189,6 +189,7 @@ void *alloc_object( const struct object_ops *ops )
|
|||
{
|
||||
obj->refcount = 1;
|
||||
obj->handle_count = 0;
|
||||
obj->is_permanent = 0;
|
||||
obj->ops = ops;
|
||||
obj->name = NULL;
|
||||
obj->sd = NULL;
|
||||
|
|
Loading…
Reference in New Issue