diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 10:30:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 11:26:37 +0000 |
commit | d99251cecd8a2094bacf55c5f8f2242dc874c0e3 (patch) | |
tree | dcc2d2bd981dd8cc4a87fbc30975840a2eb33fe8 /vcl | |
parent | c05373e331a0224db0cdf4de809c56bc001490b2 (diff) |
leak in IMHandler::signalIMPreeditChanged early return
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/window/gtkframe.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx index 6844a109ab4b..3c3a757139a4 100644 --- a/vcl/unx/gtk/window/gtkframe.cxx +++ b/vcl/unx/gtk/window/gtkframe.cxx @@ -3925,6 +3925,7 @@ void GtkSalFrame::IMHandler::signalIMPreeditChanged( GtkIMContext*, gpointer im_ if( pThis->m_aInputEvent.maText.Len() == 0 ) { g_free( pText ); + pango_attr_list_unref( pAttrs ); return; } } |