maierfelix / maierfelix/webgpu
Non-array delete should be array delete
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 248
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
In `GPUShaderModule` constructor, `source` should be deleted using `delete[]` instead of `delete`.
Fix arriving shortly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the GPUShaderModule constructor and inspect how source is allocated and released. Update the deallocation to match the array allocation described in the issue, then verify that the constructor still handles source cleanup correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100