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:
Alexandre Julliard 2020-09-24 14:14:53 +02:00
parent ab9ded062f
commit 50e2c62a60
1 changed files with 1 additions and 0 deletions

View File

@ -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;