From: Sebastian B. <sb...@us...> - 2013-12-24 09:13:20
|
Update of /cvsroot/simplemail/simplemail/gtk In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30913/gtk Modified Files: subthreads.c Log Message: Unref loop and context. Index: subthreads.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- subthreads.c 24 Dec 2013 09:12:59 -0000 1.34 +++ subthreads.c 24 Dec 2013 09:13:18 -0000 1.35 @@ -109,6 +109,9 @@ } g_mutex_unlock(thread_list_mutex); + g_main_loop_unref(main_thread.main_loop); + g_main_context_unref(main_thread.context); + g_mutex_free(thread_list_mutex); } @@ -188,6 +191,8 @@ node_remove(&tad->thread->node); g_mutex_unlock(thread_list_mutex); + g_main_loop_unref(tad->thread->main_loop); + g_main_context_unref(tad->thread->context); return NULL; } |