# The error variable in end() is stuff.cc never gets freed since
# exit() is called before end() returns.  See above suppression for more
# notes
{
	end_error_leak
	Memcheck:Leak
	obj:*
	obj:*libstdc++*
	obj:*libstdc++*
	obj:*libstdc++*
	obj:*libstdc++*
	obj:*libstdc++*
	fun:*end*
}

# An SDL "conditional jump or move" error, with the unitialized value
# being supplied by Nvidia's OpenGL library.
{
	tiles_SDL_Nvida_GL_cond
	Memcheck:Cond
    fun:X11_SetKeyboardState
	fun:X11_DispatchEvent
	obj:*
}

# ncurses keep some structures even after endwin() to 1. make flipping back
# faster, and 2. to allow some functions to work even then.  It's an O(1)
# leak and thus harmless.
{
   ncurses_alloc_once_leak
   Memcheck:Leak
   fun:calloc
   fun:_nc_makenew
   fun:newwin
   fun:_nc_setupscreen
   fun:newterm
   fun:initscr
}

{
   ncurses_alloc_once_leak2
   Memcheck:Leak
   fun:calloc
   fun:newwin
   fun:_nc_setupscreen
   fun:newterm
   fun:initscr
}
