vcl/unx/gtk3/gtk3gtkframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ce0ad10405bd590498d5f0c093d9afca96d3abca
Author: Dennis Francis <[email protected]>
Date: Thu Dec 10 13:19:58 2015 +0530
Fix a memleak in GtkSalFrame::SetIcon
Change-Id: I70ca3c635033870ca05959561dc0f5b8a2d68939
Reviewed-on: https://gerrit.libreoffice.org/20561
Reviewed-by: David Tardon <[email protected]>
Tested-by: David Tardon <[email protected]>
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 31b608f..609bd0a 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1320,6 +1320,7 @@ void GtkSalFrame::SetIcon( sal_uInt16 nIcon )
appicon = g_strdup ("libreoffice-main");
gtk_window_set_icon_name (GTK_WINDOW (m_pWindow), appicon);
+ g_free (appicon);
}
void GtkSalFrame::SetMenu( SalMenu* pSalMenu )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits