func: static void goodB2G() 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 ); CWE401_Memory_Leak__twoIntsStruct_realloc_63b_goodB2GSink ( & data ); void CWE401_Memory_Leak__twoIntsStruct_realloc_63b_goodB2GSink(twoIntsStruct * * dataPtr) twoIntsStruct * data = * dataPtr ; free ( data ); 