diff --git a/sflphone-client-gnome/src/actions.c b/sflphone-client-gnome/src/actions.c
index bb8aff770981e2cf03b4e20414cf79fc354f5d7e..a7c47d6c467df036ef1536e4c4f24011daf6bf79 100644
--- a/sflphone-client-gnome/src/actions.c
+++ b/sflphone-client-gnome/src/actions.c
@@ -189,6 +189,8 @@ sflphone_ringing(callable_obj_t * c )
     void
 sflphone_hung_up( callable_obj_t * c)
 {
+    DEBUG("Actions: SFLphone hungup");
+
     calllist_remove( current_calls, c->_callID);
     calltree_remove_call(current_calls, c, NULL);
     c->_state = CALL_STATE_DIALING;
@@ -228,7 +230,7 @@ void sflphone_fill_account_list (void) {
         if(!(*accountID))
 	  DEBUG("hhhhhhhhhmmmmmmmmmmmm");
       */
-
+      
         for (accountID = array; *accountID; accountID++)
         {
             account_t * a = g_new0(account_t,1);
@@ -321,10 +323,10 @@ void sflphone_fill_account_list (void) {
         a->protocol_state_description = g_hash_table_lookup(details, REGISTRATION_STATE_DESCRIPTION);
     }
 
-	// Set the current account message number
-	current_account_set_message_number (count);
-
-	sflphone_fill_codec_list ();
+    // Set the current account message number
+    current_account_set_message_number (count);
+    
+    sflphone_fill_codec_list ();
 }
 
 gboolean sflphone_init() {
diff --git a/sflphone-client-gnome/src/callable_obj.c b/sflphone-client-gnome/src/callable_obj.c
index e8bd467afb59e84bd298c6f1489da858981e86ab..67fde62f7a8a583dd7e1b48d6eac0dbb09af739a 100644
--- a/sflphone-client-gnome/src/callable_obj.c
+++ b/sflphone-client-gnome/src/callable_obj.c
@@ -135,6 +135,8 @@ void *threaded_clock_incrementer(void *pc) {
 
   while(call->clockStarted) {
 
+    DEBUG("CLOCK STARTED: %d", call->clockStarted);
+
     gchar *res;
     int duration;
     time_t start, current;
@@ -170,8 +172,6 @@ void *threaded_clock_incrementer(void *pc) {
 
     calltree_update_clock(call);
 
-    g_free(res);
-
     sleep(1);
   }
 }
diff --git a/sflphone-client-gnome/src/dbus/dbus.c b/sflphone-client-gnome/src/dbus/dbus.c
index 4c8fe85ff303055dceba2e3dd32a9ba0aa0ee60c..2d66258774ff97337fbedc2488b63b6e4d5f0596 100644
--- a/sflphone-client-gnome/src/dbus/dbus.c
+++ b/sflphone-client-gnome/src/dbus/dbus.c
@@ -145,9 +145,9 @@ call_state_cb(DBusGProxy *proxy UNUSED, const gchar* callID, const gchar* state,
               calltree_update_call(history, c, NULL);
             }
           stop_notification();
-          sflphone_hung_up(c);
-          calltree_update_call(history, c, NULL );
+          calltree_update_call(history, c, NULL);
           status_bar_display_account();
+	  sflphone_hung_up(c);
         }
       else if (strcmp(state, "UNHOLD_CURRENT") == 0)
         {