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