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