mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
Fixed call_atexit_callbacks function
This commit is contained in:
+4
-2
@@ -834,9 +834,11 @@ static void
|
||||
call_atexit_callbacks(bool fatal)
|
||||
{
|
||||
pgut_atexit_item *item;
|
||||
|
||||
for (item = pgut_atexit_stack; item; item = item->next)
|
||||
pgut_atexit_item *next;
|
||||
for (item = pgut_atexit_stack; item; item = next){
|
||||
next = item->next;
|
||||
item->callback(fatal, item->userdata);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user