Fix NULL handle issue

This commit is contained in:
unknown
2010-05-27 05:47:07 -05:00
committed by Andrew Johnson
parent 6ed0fdf9fd
commit 8337b5063d

View File

@@ -231,7 +231,7 @@ epicsShareAPI macParseDefns(
free( ( char * ) del );
/* debug output */
if ( handle->debug & 1 )
if ( handle != NULL && handle->debug & 1 )
printf( "macParseDefns() -> %d\n", num / 2 );
/* success exit; return number of definitions */