diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-01 20:22:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-01 20:37:14 +0100 |
commit | b5423da269dc218b37d7fe6c675b032d950bcd54 (patch) | |
tree | b4e1f9b250b1d98e072be05adf0e6d0ac72c0db1 /vcl/unx | |
parent | 44cd9ef88bfc14b4520de8a73a692f0d59c40946 (diff) |
valgrind: memleak
Change-Id: Ie2a42162d3092a8213b8532d9325f4ed199ec2a4
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index 787d405ff9b6..1d3e184f857d 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -1776,12 +1776,12 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) aStyleSet.SetCairoFontOptions( pNewOptions ); // finally update the collected settings rSettings.SetStyleSettings( aStyleSet ); +#if OSL_DEBUG_LEVEL > 1 gchar* pThemeName = NULL; g_object_get( pSettings, "gtk-theme-name", &pThemeName, nullptr ); - #if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "Theme name is \"%s\"\n", pThemeName ); - #endif - + g_free(pThemeName); +#endif } bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nPart ) |