Avoid allocate memory for string constant parameters in functions