summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-15 08:55:06 +0100
committerAndras Timar <andras.timar@collabora.com>2024-05-17 19:57:44 +0200
commit1eac6c0c024e477e24c4c60da772090f148e2ad6 (patch)
tree203012fcd198fc638ede50070400cefbc2086705 /vcl
parent14e89d9f3fb2dfc46cc40595391c55f708fdac52 (diff)
tdf#161073 handle is supposed to be freed automatically on failure
and is since: https://gitlab.gnome.org/GNOME/glib/-/commit/747e3af9987b37847d7d5acbf882d1ee4a6bd91b Change-Id: Ibb648ccf69ff892fc1e2a3c3dc4da1fffd577c92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167468 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/hudawareness.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/hudawareness.cxx b/vcl/unx/gtk3/hudawareness.cxx
index ebcbaf747fca..749e3d5c0d0a 100644
--- a/vcl/unx/gtk3/hudawareness.cxx
+++ b/vcl/unx/gtk3/hudawareness.cxx
@@ -88,7 +88,7 @@ hud_awareness_register (GDBusConnection *connection,
if (object_id == 0)
{
- g_free (handle);
+ // note: tdf#161073 handle is expected to be freed by g_dbus_connection_register_object on failure
return 0;
}