[at-spi2-atk] Fix small memory leak introduced in the last commit
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Fix small memory leak introduced in the last commit
- Date: Mon, 2 Sep 2019 14:47:23 +0000 (UTC)
commit 1e43763d4eadd68b8afb8f849693187df2593879
Author: Mike Gorse <mgorse alum wpi edu>
Date: Mon Sep 2 09:46:38 2019 -0500
Fix small memory leak introduced in the last commit
atk-adaptor/bridge.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 1a23478..8ce338c 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -416,11 +416,6 @@ _atk_bridge_register_application (gpointer data)
g_free (app->desktop_name);
g_free (app->desktop_path);
- /* These will be overridden when we get a reply, but in practice these
- defaults should always be correct */
- app->desktop_name = g_strdup (ATSPI_DBUS_NAME_REGISTRY);
- app->desktop_path = g_strdup (ATSPI_DBUS_PATH_ROOT);
-
message = dbus_message_new_method_call (SPI_DBUS_NAME_REGISTRY,
ATSPI_DBUS_PATH_ROOT,
ATSPI_DBUS_INTERFACE_SOCKET,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]