diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-07 05:22:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-07 05:31:57 +0300 |
commit | f35a38fba7083e217a778f7cb3e237d611d39beb (patch) | |
tree | e941d2d4314f5de0c6a32c06e0e44fe22a127b7a /source/blender/blenkernel | |
parent | 27426c05b16c0ab4a3bd34aff4093576a9400dfb (diff) |
Fix BKE_blender_atexit_unregister error removing from linked list
This is an old bug exposed by having multiple atexit calls since
c65c4149c9be8a1811eb389f657216fab071dfc5.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/blender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index 5b5bd416ef2..e8879cdda8f 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -417,7 +417,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; } } |