*fix* valgrind invalid read/write and memleaks
git-svn-id: http://tint2.googlecode.com/svn/trunk@572 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -156,7 +156,6 @@ void init_X11()
|
||||
|
||||
void cleanup()
|
||||
{
|
||||
cleanup_timeout();
|
||||
cleanup_systray();
|
||||
cleanup_tooltip();
|
||||
cleanup_clock();
|
||||
@@ -174,6 +173,7 @@ void cleanup()
|
||||
imlib_context_disconnect_display();
|
||||
|
||||
cleanup_server();
|
||||
cleanup_timeout();
|
||||
if (server.dsp) XCloseDisplay(server.dsp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user