diff options
author | Bastien Montagne <bastien@blender.org> | 2021-10-27 13:04:36 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-10-29 12:32:26 +0300 |
commit | 259731909c8013fa6d8cdaa221ad7785cabd48ce (patch) | |
tree | baef996eb7485058e49f2134cc0b4a44a796eb53 /source/blender/blenlib | |
parent | e3b2f0fd6ff912bac69a94e35ac2f617c720328e (diff) |
LibQuery: Fix potential memleak in recursive case.
In case `library_foreach_ID_link` would return early in recursive
process, it would not properly free its utils data.
Also add proper iteration break in case some sub-calls requested it.
Finally, make this function return a boolean to know whether iteration
should be stopped or not (will be used in future commit to fix this
handling in embedded IDs case).
Part of T90922: Fix return policy inconsistency in `scene_foreach_id`.
Diffstat (limited to 'source/blender/blenlib')
0 files changed, 0 insertions, 0 deletions