func: void CWE590_Free_Memory_Not_on_Heap__free_wchar_t_alloca_67_bad() wchar_t * data ; CWE590_Free_Memory_Not_on_Heap__free_wchar_t_alloca_67_structType myStruct ; data = NULL; wchar_t * dataBuffer = ( wchar_t * ) ALLOCA ( 100 * sizeof ( wchar_t ) ) ; wmemset ( dataBuffer , L 'A' , 100 - 1 dataBuffer [ 100 - 1 ] = L '\0' data = dataBuffer; myStruct . structFirst = data; CWE590_Free_Memory_Not_on_Heap__free_wchar_t_alloca_67b_badSink ( myStruct ); void CWE590_Free_Memory_Not_on_Heap__free_wchar_t_alloca_67b_badSink(CWE590_Free_Memory_Not_on_Heap__free_wchar_t_alloca_67_structType myStruct) wchar_t * data = myStruct . structFirst ; free ( data ); 