[at-spi2-atk] Close the X display when we're finished with it



commit 427ed0be3b4b520e51ab34010031588c9dfe4606
Author: Mike Gorse <mgorse novell com>
Date:   Fri Mar 4 13:53:04 2011 -0600

    Close the X display when we're finished with it

 atk-adaptor/bridge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 8bad17c..da844d8 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -135,6 +135,7 @@ spi_atk_bridge_get_bus (void)
                       (long) BUFSIZ, False,
                       (Atom) 31, &actual_type, &actual_format,
                       &nitems, &leftover, &data);
+  XCloseDisplay (bridge_display);
 
   dbus_error_init (&error);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]