`static long
synchronize_failover_slots(long sleep_time)
{
List *slots;
// ... existing code ...
List *slots = remote_get_primary_slot_info(conn, pg_failover_slot_names_list);
// ... existing code ...
}`
When will slots be freed? Is there a risk of memory leak?