src/fec.c
static void *
my_malloc(int sz, char *err_string)
{
    void *p = malloc( sz );
    if (p == NULL) {
        fprintf( stderr, "-- malloc failure allocation %s\n", err_string );
        exit(1) ;
    }
    return p ;
}
/*
 * i use malloc so many times, it is easier to put checks all in
 * one place.
 */
i use malloc so many times, it is easier to put checks all in
one place.
i use malloc so many times it is easier to put checks all in one place .
static void *
my_malloc(int sz, char *err_string)
{
    void *p = malloc( sz );
    if (p == NULL) {
        fprintf( stderr, "-- malloc failure allocation %s\n", err_string );
        exit(1) ;
    }
    return p ;
}
static void * my_malloc ( int sz , char * err_string ) { void * p = malloc ( sz ) ; if ( p == NULL ) { fprintf ( stderr , " \n " , err_string ) ; exit ( 1 ) ; } return p ; }
i use malloc so many times, it is easier to put checks all in
 one place.
i use malloc so many times it is easier to put checks all in one place .