https://bugs.kde.org/show_bug.cgi?id=511932
Tom Hughes <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Tom Hughes <[email protected]> --- Specifically what is happening is that because the destructor is not virtual you are calling the base class destructor, which tries to free a base class object, which is only 4 bytes in size. If the destructor was virtual it would have called the derived class destructor, which would free a derived class object, which would be 8 bytes in size. Well actually it would probably be 16 bytes then because adding the virtual destructor would have added a vtable pointer... -- You are receiving this mail because: You are watching all bug changes.
