# HG changeset patch # User faust3 # Date 1053102897 0 # Node ID f6a788f113a882155ad3faf926a1ce9b2a708be3 # Parent 443ac419f3a4d927c8ec4cd3fe3912ad3e09bcb1 uninit fix by Aurelien JACOBS diff -r 443ac419f3a4 -r f6a788f113a8 osdep/vbelib.c --- a/osdep/vbelib.c Fri May 16 16:03:42 2003 +0000 +++ b/osdep/vbelib.c Fri May 16 16:34:57 2003 +0000 @@ -150,7 +150,7 @@ int vbeDestroy( void ) { - __set_cursor_type(my_stdout,1); + if (my_stdout) __set_cursor_type(my_stdout,1); close(fd_mem); LRMI_free_real(controller_info); return VBE_OK;