pma: fix use-after-free of pending_nlist pointer

This commit is contained in:
barter-simsum 2024-03-13 11:36:07 -04:00
parent 21a1fcce39
commit 46ffb737ac

View File

@ -1175,6 +1175,7 @@ _pending_nlist_merge(BT_state *state)
src_head = src_head->next;
free(prev);
}
state->pending_nlist = 0;
}
static void