}
}
- pStation = realloc(pStation,(stationi+1)*sizeof(STATION));
- if (!pStation) printf( "Realloc returned NULL!!! stationi = %d\n", stationi);
+ pStation = realloc(pStation, (stationi + 1) * sizeof(STATION));
pStation[stationi].name = malloc( strlen(desc.service_name) + 1 );
pStation[stationi].ontv = malloc( strlen(sid) + 1 );
pStation[stationi].tsId = sdth.transport_stream_id;