From e16c06e4d069216d65bf43bcb9e12c85d5505ba0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 15 May 2024 08:55:06 +0100 Subject: tdf#161073 handle is supposed to be freed automatically on failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- vcl/unx/gtk3/hudawareness.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3