Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-10-27 13:04:36 +0300
committerBastien Montagne <bastien@blender.org>2021-10-29 12:32:26 +0300
commit259731909c8013fa6d8cdaa221ad7785cabd48ce (patch)
treebaef996eb7485058e49f2134cc0b4a44a796eb53 /source/blender/blenkernel/BKE_lib_query.h
parente3b2f0fd6ff912bac69a94e35ac2f617c720328e (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/blenkernel/BKE_lib_query.h')
0 files changed, 0 insertions, 0 deletions