Alexandre Julliard : server: Initialize the object permanent flag.

Alexandre Julliard julliard at winehq.org
Thu Sep 24 15:49:04 CDT 2020


Module: wine
Branch: master
Commit: 50e2c62a60cad6af121335b7746c33ebafbf1d0a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=50e2c62a60cad6af121335b7746c33ebafbf1d0a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Sep 24 14:14:53 2020 +0200

server: Initialize the object permanent flag.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49889
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/object.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/object.c b/server/object.c
index 729114ff9c..9f26a6fea3 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;




More information about the wine-cvs mailing list