func: static void goodB2G() FILE * data ; data = NULL; CWE690_NULL_Deref_From_Return__fopen_84_goodB2G * goodB2GObject = new CWE690_NULL_Deref_From_Return__fopen_84_goodB2G ( data ) ; CWE690_NULL_Deref_From_Return__fopen_84_goodB2G::CWE690_NULL_Deref_From_Return__fopen_84_goodB2G(FILE * dataCopy) data = dataCopy; data = fopen ( "file.txt" , "w+" ); delete goodB2GObject CWE690_NULL_Deref_From_Return__fopen_84_goodB2G::~CWE690_NULL_Deref_From_Return__fopen_84_goodB2G() if ( data != NULL )  fclose ( data ); 