func: void CWE590_Free_Memory_Not_on_Heap__free_struct_alloca_66_bad() twoIntsStruct * data ; twoIntsStruct * dataArray [ 5 ] ; data = NULL; twoIntsStruct * dataBuffer = ( twoIntsStruct * ) ALLOCA ( 100 * sizeof ( twoIntsStruct ) ) ; size_t i ; for (i = 0; i < 100; i++) dataBuffer [ i ] . intOne = 1; dataBuffer [ i ] . intTwo = 1; data = dataBuffer; dataArray [ 2 ] = data; CWE590_Free_Memory_Not_on_Heap__free_struct_alloca_66b_badSink ( dataArray ); void CWE590_Free_Memory_Not_on_Heap__free_struct_alloca_66b_badSink(twoIntsStruct * dataArray[]) twoIntsStruct * data = dataArray [ 2 ] ; free ( data ); 