Fix BKE_blender_atexit_unregister error removing from linked list

This is an old bug exposed by having multiple atexit calls since
c65c4149c9.
This commit is contained in:
Campbell Barton 2021-01-07 13:22:28 +11:00 committed by Jeroen Bakker
parent 552e02f731
commit 8b52c04f9b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}