We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7bd9fa commit 874dca8Copy full SHA for 874dca8
src/cleditor/cmdmgr.cc
@@ -72,6 +72,16 @@ CmdMgr::CmdMgr() {
72
replicateList = new ReplicateList();
73
}
74
75
+CmdMgr::~CmdMgr() {
76
+ delete completeList;
77
+ delete incompleteList;
78
+ delete deleteList;
79
+ delete mappedWriteList;
80
+ delete mappedViewList;
81
+ delete closeList;
82
+ delete replicateList;
83
+}
84
+
85
void CmdMgr::ReplicateCmdList( MgrNode * mn ) {
86
if( !( replicateList->IsOnList( mn ) ) ) {
87
replicateList->AddNode( mn );
src/cleditor/cmdmgr.h
@@ -145,6 +145,7 @@ class SC_EDITOR_EXPORT CmdMgr {
145
public:
146
147
CmdMgr();
148
+ ~CmdMgr();
149
150
// STATE LIST OPERATIONS
151
MgrNode * GetHead( stateEnum listType );
0 commit comments