* Fixes NB#90204 fixes a memory leak
authorSergio Villar Senin <svillar@igalia.com>
Thu, 16 Oct 2008 18:09:05 +0000 (18:09 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 16 Oct 2008 18:09:05 +0000 (18:09 +0000)
pmo-trunk-r6074

src/hildon2/modest-msg-edit-window.c

index 631e0d5..2df0d39 100644 (file)
@@ -1904,6 +1904,7 @@ modest_msg_edit_window_set_format_state (ModestMsgEditWindow *self,
        
        text_buffer_refresh_attributes (WP_TEXT_BUFFER (priv->text_buffer), self);
        
        
        text_buffer_refresh_attributes (WP_TEXT_BUFFER (priv->text_buffer), self);
        
+       g_free (buffer_format);
        g_free (current_format);
 
        /* Check dimming rules */
        g_free (current_format);
 
        /* Check dimming rules */