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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 11 years ago
parent 8e27031492
commit 83a76c73c7

@ -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