Use the correct call to free jack-allocated strings.