func: CWE789_Uncontrolled_Mem_Alloc__new_char_connect_socket_83_goodG2B::~CWE789_Uncontrolled_Mem_Alloc__new_char_connect_socket_83_goodG2B() char * myString ; if ( data > strlen ( HELLO_STRING ) )  myString = new char [ data ]; strcpy ( myString , HELLO_STRING ); printLine ( myString ); void printLine (const char * line) if ( line != NULL )  printf ( "%s\n" , line ); delete [ ] myString 