diff options
author | Julian Eisel <julian@blender.org> | 2020-12-08 17:00:31 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-12-08 17:00:31 +0300 |
commit | 2678953f699c27122d059eb8ab14e84a5be75c28 (patch) | |
tree | ba0c913a9a2d0a2ae5400eae6cb2c08d23da02b8 /source/blender/blenloader | |
parent | 95b3c4c966f9baeb6f73b84568b7f03287e1a350 (diff) |
Cleanup: Correct an own earlier commit to use an existing utility function
Didn't know this function existed, better to use it then to avoid verbosity.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/blend_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/blend_validate.c b/source/blender/blenloader/intern/blend_validate.c index 9b42e2d5f40..c281e2fa643 100644 --- a/source/blender/blenloader/intern/blend_validate.c +++ b/source/blender/blenloader/intern/blend_validate.c @@ -148,7 +148,7 @@ bool BLO_main_validate_libraries(Main *bmain, ReportList *reports) } } - BLI_linklist_free(names, MEM_freeN); + BLI_linklist_freeN(names); } BLO_blendhandle_close(bh); |