]> git.0d.be Git - empathy.git/commitdiff
chat-manager: add missing free
authorJonny Lamb <jonnylamb@gnome.org>
Wed, 18 May 2011 13:15:09 +0000 (14:15 +0100)
committerJonny Lamb <jonnylamb@gnome.org>
Wed, 18 May 2011 13:15:09 +0000 (14:15 +0100)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
src/empathy-chat-manager.c

index 705d70d685555846b89dd5ce484f19d0bbd3aef0..9732e251384d32b95947f1993cf2b6fe558155e8 100644 (file)
@@ -453,6 +453,7 @@ empathy_chat_manager_closed_chat (EmpathyChatManager *self,
    * don't actually have a message to save. */
   if (chats == NULL && tp_str_empty (message))
     {
+      g_free (message);
       return;
     }
   else if (chats == null && !tp_str_empty (message))