wmail: fixed use-after-free.
commitd77e013060a1776098a5415d2a3f82260a5e268a
authorJeremy Sowden <jeremy@azazel.net>
Fri, 21 Jun 2019 10:50:34 +0000 (21 11:50 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 21 Jun 2019 11:28:08 +0000 (21 12:28 +0100)
tree86638f6f84340ef2c75f97b32df9ca074dc9b675
parentc4eb6d91d249f7e147d84a13c6e1b4f156d49e2b
wmail: fixed use-after-free.

The CleanupNames() function removed the sender-addresses for deleted
mails, but did not set the namesChanged flag to true.  This meant that
if the ticker was displaying the address of a mail which had been
deleted it would continue doing so after the address had been freed.
wmail/src/wmail.c