Skip to content
Snippets Groups Projects

vkd3d-shader/hlsl: Properly release string buffer on write_atan_or_atan2().

Merged Francisco Casas requested to merge fcasas/vkd3d:string-buffer-fix into master

Fix to a sneaky memory leak.

  • hlsl_get_string_buffer()/vkd3d_string_buffer_get() should go with hlsl_release_string_buffer()/vkd3d_string_buffer_release().
  • vkd3d_string_buffer_init() should go with vkd3d_string_buffer_free(), which only frees the internal char * of the string buffer.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading