cc, free_memory for structs, openmp