Matthias Andree <matthias(_dot_)andree(_at_)gmx(_dot_)de> writes:
Actually, the right code is:
if (ctl->newsaved)
{
/* old state of mailbox may now be irrelevant */
struct idlist **temp = &ctl->oldsaved;
if (outlevel >= O_DEBUG)
report(stdout, GT_("swapping UID lists\n"));
ctl->oldsaved = ctl->newsaved;
ctl->newsaved = (struct idlist *) NULL;
free_str_list(temp);
}
The & belongs in the free_str_list() call - further discussion on
fetchmail-devel(_at_)lists(_dot_)berlios(_dot_)de(_dot_)
--
Matthias Andree