vkd3d-shader/hlsl: Properly release string buffer on write_atan_or_atan2().
Fix to a sneaky memory leak.
-
hlsl_get_string_buffer()
/vkd3d_string_buffer_get()
should go withhlsl_release_string_buffer()
/vkd3d_string_buffer_release()
. -
vkd3d_string_buffer_init()
should go withvkd3d_string_buffer_free()
, which only frees the internalchar *
of the string buffer.