]> git.cworth.org Git - vogl/commitdiff
UI: Fix a bunch of memory leaks; rename a few member variables
authorPeterLValve <peterl@valvesoftware.com>
Wed, 19 Mar 2014 22:50:49 +0000 (15:50 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 19:37:31 +0000 (12:37 -0700)
* A bunch of UI elements were not being deleted in VoglEditor.
* The ApiCallTreeModel (which maintains all the API calls and snapshopts) was being allocated each time a trace was opened, but never deleted when the trace was closed.
* The StateTreeModel was being reallocated each time the UI was updated to a new snapshot, but they were never being deleted.
* ApiCallItems were being deleted by BOTH the FrameItem and the ApiCallTreeItem; they are now only deleted by the ApiCallTreeItem.


No differences found