diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-12-09 13:05:11 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-12-09 13:05:11 +0100 |
commit | 9ee433b5f0d9e5243727cecbb398eb17b9511d66 (patch) | |
tree | 4c863a6eb1e6b02ec697678bb9c7f823435f69cf | |
parent | 8735944c1597d317716357eb2561222161b875d4 (diff) |
-rw-r--r-- | cells-impl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cells-impl.hpp b/cells-impl.hpp index 1ee3eac..67c28f5 100644 --- a/cells-impl.hpp +++ b/cells-impl.hpp @@ -248,8 +248,10 @@ namespace cells { independent_nodes.push_front(other); } } + delete node; } if (left != 0) { + // FIXME: delete remaining dag_nodes. throw std::logic_error("Cell cycle detected"); } |