We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0755756 commit 2a89a60Copy full SHA for 2a89a60
src/utils/pgut.c
@@ -834,9 +834,11 @@ static void
834
call_atexit_callbacks(bool fatal)
835
{
836
pgut_atexit_item *item;
837
-
838
- for (item = pgut_atexit_stack; item; item = item->next)
+ pgut_atexit_item *next;
+ for (item = pgut_atexit_stack; item; item = next){
839
+ next = item->next;
840
item->callback(fatal, item->userdata);
841
+ }
842
}
843
844
static void
0 commit comments