Author Topic: Fixed Virtual Destructors  (Read 6018 times)

Offline sir_nacnud

  • Captain
  • ***
  • Posts: 54
    • View Profile
Fixed Virtual Destructors
« on: September 25, 2010, 10:18:06 pm »
The Target and ImageButton classes needed their destructors to be virtual.  While I didn't see any places in the code base where having these base classes' destructors non-virtual caused a memory leak, it could have caused one in the future.

Attached patch contains the fixes.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Fixed Virtual Destructors
« Reply #1 on: September 27, 2010, 11:01:34 pm »
Thanks, added.