[empathy: 4/7] chat-manager: add missing free



commit 8894350602117306df0038ff7cd622b910f70fa5
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Wed May 18 14:15:09 2011 +0100

    chat-manager: add missing free
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 src/empathy-chat-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c
index 705d70d..9732e25 100644
--- a/src/empathy-chat-manager.c
+++ b/src/empathy-chat-manager.c
@@ -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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]