Changeset - r21004:bda16e4aca9a
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-24 09:52:35
rubidium@openttd.org
(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
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_base.h
Show inline comments
 
@@ -100,7 +100,7 @@ struct CompanyProperties {
 

	
 
	CompanyProperties() : name(NULL), president_name(NULL) {}
 

	
 
	virtual ~CompanyProperties()
 
	~CompanyProperties()
 
	{
 
		free(this->name);
 
		free(this->president_name);
0 comments (0 inline, 0 general)