diff options
-rw-r--r-- | goto.cpp | 3 | ||||
-rw-r--r-- | rbtree.h | 2 | ||||
-rw-r--r-- | undo.h | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -36,9 +36,6 @@ class GotoTable : public RBTree { run(void) { table->set(name, pc); - g_free(name); - name = NULL; - #ifdef DEBUG table->dump(); #endif @@ -21,6 +21,8 @@ public: public: RB_ENTRY(RBEntry) nodes; + virtual ~RBEntry() {} + inline RBEntry * next(void) { @@ -18,6 +18,8 @@ public: gint pos; + virtual ~UndoToken() {} + virtual void run() = 0; }; |