vcl/unx/gtk3/a11y/gtk3atktextattributes.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 474bfa5a753660996e7172148ed8915e430954f1 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Nov 4 11:02:21 2020 +0000 Commit: Michael Stahl <[email protected]> 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 <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
