func: void CWE401_Memory_Leak__twoIntsStruct_realloc_67_bad() twoIntsStruct * data ; data = NULL; data = ( twoIntsStruct * ) realloc ( data , 100 * sizeof ( twoIntsStruct ) ); data [ 0 ] . intOne = 0; data [ 0 ] . intTwo = 0; printStructLine ( & data [ 0 ] ); void printStructLine (const twoIntsStruct * structTwoIntsStruct) printf ( "%d -- %d\n" , structTwoIntsStruct -> intOne , structTwoIntsStruct -> intTwo ); myStruct . structFirst = data; CWE401_Memory_Leak__twoIntsStruct_realloc_67b_badSink ( myStruct ); void CWE401_Memory_Leak__twoIntsStruct_realloc_67b_badSink(CWE401_Memory_Leak__twoIntsStruct_realloc_67_structType myStruct) twoIntsStruct * data = myStruct . structFirst ; 