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
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment