(svn r26052) -Fix: missing virtual destructor could cause some memory to be not freed

pull/155/head
rubidium 11 years ago
parent 81c0b0e861
commit d8cd229ef7

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

Loading…
Cancel
Save