func: static void goodG2B() char * data ; CWE590_Free_Memory_Not_on_Heap__free_char_alloca_34_unionType myUnion ; data = NULL; char * dataBuffer = ( char * ) malloc ( 100 * sizeof ( char ) ) ; memset ( dataBuffer , 'A' , 100 - 1 ); dataBuffer [ 100 - 1 ] = '\0'; data = dataBuffer; myUnion . unionFirst = data; char * data = myUnion . unionSecond ; free ( data ); 