func: static void goodB2G() int i , k ; twoIntsStruct * data ; data = NULL; for(i = 0; i < 1; i++) data = ( twoIntsStruct * ) malloc ( 100 * sizeof ( twoIntsStruct ) ); size_t i ; for(i = 0; i < 100; i++) data [ i ] . intOne = 1; data [ i ] . intTwo = 2; free ( data ); 