mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
(svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base
This commit is contained in:
parent
a8e8f606d8
commit
6fb28d8719
@ -100,7 +100,7 @@ struct CompanyProperties {
|
||||
|
||||
CompanyProperties() : name(NULL), president_name(NULL) {}
|
||||
|
||||
virtual ~CompanyProperties()
|
||||
~CompanyProperties()
|
||||
{
|
||||
free(this->name);
|
||||
free(this->president_name);
|
||||
|
Loading…
Reference in New Issue
Block a user