func: void bad() long * data ; map < int , long * > dataMap ; data = NULL; data = new long dataMap [ 0 ] = data; dataMap [ 1 ] = data; dataMap [ 2 ] = data; badSink ( dataMap ); void badSink(map<int, long *> dataMap) long * data = dataMap [ 2 ] ; free ( data ); 