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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user