Fix #117132: GPv3: edit mode overlay memory leaks #10

Closed
casey-bianco-davis wants to merge 2 commits from GPv3-Fix-edit-mode-overlay-memory-leak into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

2 Commits

Author SHA1 Message Date
df74b8989d Merge branch 'main' into GPv3-Fix-edit-mode-overlay-memory-leak 2024-01-27 12:45:37 -08:00
be29daeffd Fix #117132: GPv3: edit mode overlay memory leaks
The problem was that `grease_pencil_edit_batch_ensure` would not return early if the buffers already exist, meaning that multiple buffers would be create but only the last ones would be freed.
2024-01-27 12:19:40 -08:00