func: void CWE401_Memory_Leak__malloc_realloc_int_12_bad() if ( globalReturnsTrueOrFalse ( ) )  int globalReturnsTrueOrFalse() return ( rand ( ) % 2 ) ; int * data = ( int * ) malloc ( 100 * sizeof ( int ) ) ; data [ 0 ] = 5; data = ( int * ) realloc ( data , ( 130000 ) * sizeof ( int ) ); if ( data != NULL )  data [ 0 ] = 10; int * data = ( int * ) malloc ( 100 * sizeof ( int ) ) ; int * tmpData ; data [ 0 ] = 5; tmpData = ( int * ) realloc ( data , ( 130000 ) * sizeof ( int ) ); if ( tmpData != NULL )  data = tmpData; data [ 0 ] = 10; free ( data ); 