func: void bad() long * data ; long * & dataRef = data ; data = NULL; long * dataBuffer = ( long * ) ALLOCA ( 100 * sizeof ( long ) ) ; size_t i ; for (i = 0; i < 100; i++) dataBuffer [ i ] = 5L; data = dataBuffer; long * data = dataRef ; free ( data ); 