]> granicus.if.org Git - re2c/commit
Fixed occasional double-freeing tag names.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 15 May 2016 16:49:52 +0000 (17:49 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 15 May 2016 16:49:52 +0000 (17:49 +0100)
commit68578324292871b752c34221f24d429f725ba9cd
tree141db6a7aa4119a3b9f9ce5902191b59ef2a24a5
parent643f5fd795c6d9818ab803507ac4dd2eee1ceaac
Fixed occasional double-freeing tag names.

Tag names belong to regexps, which may be shared between automata,
so names should be freed on regexp destruction, not on automata
destruction.
re2c/src/ir/regexp/regexp.h
re2c/src/ir/tag.cc
re2c/src/ir/tag.h