Commit: 87fb12d16e4fab82385538a2ad8865d3ef3dca7a Author: Jacques Lucke Date: Mon Jul 27 10:23:20 2020 +0200 Branches: blender-v2.90-release https://developer.blender.org/rB87fb12d16e4fab82385538a2ad8865d3ef3dca7a
Allocator: fix build error with -Werror=format-security Doing it again here, because I fixed this only in master branch before.. =================================================================== M intern/guardedalloc/intern/mallocn_lockfree_impl.c =================================================================== diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index 282c852fedd..b71e2c963eb 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -102,7 +102,7 @@ size_t MEM_lockfree_allocN_len(const void *vmemh) void MEM_lockfree_freeN(void *vmemh) { if (leak_detector_has_run) { - print_error(free_after_leak_detection_message); + print_error("%s\n", free_after_leak_detection_message); } MemHead *memh = MEMHEAD_FROM_PTR(vmemh); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs