Skip to content
Snippets Groups Projects
Commit 0b331b81 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

changing a malloc to a calloc shouldn't change behavior, but

this change seems to causes test007 to fail on some systems
(e.g., FreeBSD 4).
parent 910076d2
Branches
Tags
No related merge requests found
......@@ -59,7 +59,7 @@ init_globals( void )
{
Globals *g;
g = ( Globals * ) malloc( sizeof( Globals ));
g = ( Globals * ) calloc( 1, sizeof( Globals ));
if ( g == NULL ) {
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment