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:
parent
552e02f731
commit
8b52c04f9b
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue