diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2024-01-13 18:06:14 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-01-15 16:27:14 +0100 |
commit | c2766f242f21988566085d4c21b4e8e4ec8f435d (patch) | |
tree | 90278c606a52fc3b8bfd4b08fde434701a4991f8 /vcl | |
parent | 4d306569c5ca073118dbd81fe3ccd0501cb027e5 (diff) |
Add missing g_bytes_unref in GtkSalMenu::AddMenuBarButton
Change-Id: I00b8a73cfe02abc561ddf67c0e6e4ad612c27422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162004
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtksalmenu.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtksalmenu.cxx b/vcl/unx/gtk3/gtksalmenu.cxx index 699e0097b358..ddfa5ef36b48 100644 --- a/vcl/unx/gtk3/gtksalmenu.cxx +++ b/vcl/unx/gtk3/gtksalmenu.cxx @@ -831,6 +831,7 @@ bool GtkSalMenu::AddMenuBarButton(const SalMenuButtonItem& rNewItem) pImage = gtk_image_new_from_gicon(pIcon); #endif g_object_unref(pIcon); + g_bytes_unref(pBytes); } GtkWidget* pButton = AddButton(pImage); |