From 6fb28d87196305d0d016499215ba9d6503e1c6cf Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 24 Nov 2013 09:52:35 +0000 Subject: [PATCH] (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 --- src/company_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/company_base.h b/src/company_base.h index f9dce59e7e..6385d60495 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -100,7 +100,7 @@ struct CompanyProperties { CompanyProperties() : name(NULL), president_name(NULL) {} - virtual ~CompanyProperties() + ~CompanyProperties() { free(this->name); free(this->president_name);