File 0001-Fix-leaked-atoms-on-destroying-window-class.patch of Package wine

From 4e504a613fdb097e269c0306a4edae067bd9d510 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Wed, 14 Nov 2018 16:14:14 +0100
Subject: Fix leaked atoms on destroying window class

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
---
 server/class.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/class.c b/server/class.c
index d5f6712006..28f704edde 100644
--- a/server/class.c
+++ b/server/class.c
@@ -76,6 +76,8 @@ static struct window_class *create_class( struct process *process, int extra_byt
 
 static void destroy_class( struct window_class *class )
 {
+    release_global_atom( NULL, class->atom );
+    //release_global_atom( NULL, class->base_atom );
     list_remove( &class->entry );
     release_object( class->process );
     free( class );
-- 
2.13.7
openSUSE Build Service is sponsored by