*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:
Andreas.Fink85
2010-10-08 21:45:14 +00:00
parent 1161b0921b
commit eae7223ddf
6 changed files with 33 additions and 16 deletions

View File

@@ -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);
}