Skip to content

Commit

Permalink
free_fn fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSpydog committed Nov 5, 2024
1 parent ce544d8 commit cd43cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_sdlgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ static MOJOSHADER_sdlProgram *compile_program(
} // if

if (pshaderSource != pshader->parseData->output)
ctx->free_fn(ctx, pshaderSource);
ctx->free_fn(pshaderSource, ctx->malloc_data);

return program;
} // compile_program
Expand Down

0 comments on commit cd43cb3

Please sign in to comment.