]> granicus.if.org Git - re2c/commitdiff
- Fix memleak (State::action continued)
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 5 Jun 2006 22:14:00 +0000 (22:14 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 5 Jun 2006 22:14:00 +0000 (22:14 +0000)
re2c/dfa.h

index 42563f30d6eaf225ca55e2bba8e9b10e76024988..aa0a663f4e0831965fa855026bcee87d009f8942 100644 (file)
@@ -291,6 +291,7 @@ public:
 
 inline Action::Action(State *s) : state(s)
 {
+       delete s->action;
        s->action = this;
 }