[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 4 14:11:39 UTC 2020


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

New commits:
commit c4fc90af1355d80ad0c3e5130fd43a9b97d80b9a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 4 11:02:21 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Nov 4 15:11:03 2020 +0100

    resource leak
    
    Change-Id: I1abd8acef55d5bdb4744ecf1a62d8e1396de0e3f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105287
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx b/vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx
index 77daf48146b0..914466315ce2 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