(svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game

This commit is contained in:
yexo
2010-02-12 16:42:29 +00:00
parent dd1c72d39a
commit 7d5cfa5884
2 changed files with 5 additions and 2 deletions

View File

@@ -723,8 +723,6 @@ static void DeleteNewsItem(NewsItem *ni)
_latest_news = ni->prev;
}
free(ni->free_data);
if (_current_news == ni) _current_news = ni->prev;
_total_news--;
delete ni;