[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 5 09:51:10 UTC 2020


 vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 474bfa5a753660996e7172148ed8915e430954f1
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 4 11:02:21 2020 +0000
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Thu Nov 5 10:50:36 2020 +0100

    resource leak
    
    Change-Id: I1abd8acef55d5bdb4744ecf1a62d8e1396de0e3f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105218
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx b/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
index 73ba933d5a98..81115fb6a12d 100644
--- a/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
+++ b/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
@@ -991,6 +991,7 @@ TabStopList2String( const uno::Any& rAny, bool default_tabs )
             {
                 gchar * old_tab_str = ret;
                 ret = g_strconcat(old_tab_str, " ", tab_str, nullptr);
+                g_free( tab_str );
                 g_free( old_tab_str );
             }
             else


More information about the Libreoffice-commits mailing list