9317df
From abaf73f99c300ffe6c38dc7d1ce93ab09043f88a Mon Sep 17 00:00:00 2001
9317df
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
9317df
Date: Wed, 4 Nov 2020 11:02:21 +0000
9317df
Subject: [PATCH 2/8] resource leak
9317df
9317df
Change-Id: I1abd8acef55d5bdb4744ecf1a62d8e1396de0e3f
9317df
---
9317df
 vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx | 1 +
9317df
 1 file changed, 1 insertion(+)
9317df
9317df
diff --git a/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx b/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
9317df
index 52f0a34cd3a2..483283cadab5 100644
9317df
--- a/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
9317df
+++ b/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
9317df
@@ -987,6 +987,7 @@ TabStopList2String( const uno::Any& rAny, bool default_tabs )
9317df
             {
9317df
                 gchar * old_tab_str = ret;
9317df
                 ret = g_strconcat(old_tab_str, " ", tab_str, nullptr);
9317df
+                g_free( tab_str );
9317df
                 g_free( old_tab_str );
9317df
             }
9317df
             else
9317df
-- 
9317df
2.28.0
9317df