Commit: 8b52c04f9b52c622b5266dc8cb2b875703794919 Author: Campbell Barton Date: Thu Jan 7 13:22:28 2021 +1100 Branches: blender-v2.91-release https://developer.blender.org/rB8b52c04f9b52c622b5266dc8cb2b875703794919
Fix BKE_blender_atexit_unregister error removing from linked list This is an old bug exposed by having multiple atexit calls since c65c4149c9be8a1811eb389f657216fab071dfc5. =================================================================== M source/blender/blenkernel/intern/blender.c =================================================================== diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index 1ad1a821129..58c1daaad90 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -415,7 +415,7 @@ void BKE_blender_atexit_unregister(void (*func)(void *user_data), const void *us free(ae); return; } - ae_p = &ae; + ae_p = &ae->next; ae = ae->next; } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs