{
bSize += BUFR_INC;
bufr = realloc_array( bufr, char, bSize );
- if( NULL == bufr )
- {
- rprintf(FLOG, "%s Memory re-allocation failure.", func);
- return( False );
- }
}
/* Handle a single character. */
{
bSize += BUFR_INC;
bufr = realloc_array( bufr, char, bSize );
- if( NULL == bufr )
- {
- rprintf(FLOG, "%s Memory re-allocation failure.", func) ;
- return( False );
- }
}
switch( c )
{
bSize += BUFR_INC;
bufr = realloc_array( bufr, char, bSize );
- if( NULL == bufr )
- {
- rprintf(FLOG, "%s Memory re-allocation failure.", func) ;
- return( False );
- }
}
switch( c )
{ /* allocate one, then parse, */
bSize = BUFR_INC; /* then free. */
bufr = new_array( char, bSize );
- if( NULL == bufr )
- {
- rprintf(FLOG, "%s memory allocation failure.\n", func);
- fclose(InFile);
- return( False );
- }
result = Parse( InFile, sfunc, pfunc );
free( bufr );
bufr = NULL;