From 50e2c62a60cad6af121335b7746c33ebafbf1d0a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 24 Sep 2020 14:14:53 +0200 Subject: [PATCH] server: Initialize the object permanent flag. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49889 Signed-off-by: Alexandre Julliard --- server/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/object.c b/server/object.c index 729114ff9c3..9f26a6fea36 100644 --- a/server/object.c +++ b/server/object.c @@ -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;