(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:
rubidium
2013-11-24 09:52:35 +00:00
parent 3784110fe6
commit 388e8e2d97

View File

@@ -100,7 +100,7 @@ struct CompanyProperties {
CompanyProperties() : name(NULL), president_name(NULL) {} CompanyProperties() : name(NULL), president_name(NULL) {}
virtual ~CompanyProperties() ~CompanyProperties()
{ {
free(this->name); free(this->name);
free(this->president_name); free(this->president_name);