5 ms·
None of this is as good as "free array memory before it goes out of scope". This is better than `fix: memory leak` - which is what most people would do. It's al
by jacobsenscott 3mo ago
None of this is as good as "free array memory before it goes out of scope". This is better than `fix: memory leak` - which is what most people would do. It's also better than `fix: free array memory...` because `fix:` is redundant when you have a good message. I get people want to build automation around this stuff, but just do that in a footer of a commit message where humans don't need to see it.
- procaryote 3mo agoArguably "fix memory leak" is why you free the array; freeing the array is just how you fixed it and less interesting as that is also in the diff