Three more valgrind discoveries:

- readfile.c, version patch for new toolsettings used a malloc, using
  unitialized variables
- despgraph, another malloc changed to calloc
- timer code for render ESC: unitialized variable in struct
This commit is contained in:
2006-07-13 11:36:26 +00:00
parent 3bc73506ea
commit 464f3bd966
3 changed files with 3 additions and 12 deletions

View File

@@ -1016,8 +1016,7 @@ static void end_test_break_callback()
{
struct itimerval tmevalue;
tmevalue.it_value.tv_sec = 0;
tmevalue.it_value.tv_usec = 0;
memset(&tmevalue, 0, sizeof(struct itimerval));
setitimer(ITIMER_REAL, &tmevalue, 0);
signal(SIGALRM, SIG_IGN);