vkd3d-compiler: Free compilation options (Valgrind).

This commit is contained in:
Giovanni Mascellani 2024-01-30 16:46:37 +01:00 committed by Alexandre Julliard
parent 896fc0c2ce
commit 8b11b4b37a
Notes: Alexandre Julliard 2024-02-01 00:31:43 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/615

View File

@ -879,6 +879,7 @@ int main(int argc, char **argv)
fail = 0;
vkd3d_shader_free_shader_code(&output_code);
done:
free(options.compile_options);
if (close_output)
fclose(output);
if (close_input)