summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/company_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_base.h b/src/company_base.h
index 6385d6049..f9dce59e7 100644
--- a/src/company_base.h
+++ b/src/company_base.h
@@ -100,7 +100,7 @@ struct CompanyProperties {
CompanyProperties() : name(NULL), president_name(NULL) {}
- ~CompanyProperties()
+ virtual ~CompanyProperties()
{
free(this->name);
free(this->president_name);