From bb722b24c12354640718e444ced8468b8f4dc43a Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Fri, 16 Jan 2015 17:34:01 +0000 Subject: [PATCH 1/2] Added call to memory::finalize() to ease memory leak debugging Signed-off-by: Christoph M. Wintersteiger --- src/shell/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell/main.cpp b/src/shell/main.cpp index 0eb612f35..8239871a3 100644 --- a/src/shell/main.cpp +++ b/src/shell/main.cpp @@ -337,6 +337,7 @@ int main(int argc, char ** argv) { default: UNREACHABLE(); } + memory::finalize(); #ifdef _WINDOWS _CrtDumpMemoryLeaks(); #endif From 67e04c5dfba23718167b68dd8cd417d6480bc3f7 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Fri, 16 Jan 2015 17:40:28 +0000 Subject: [PATCH 2/2] Python example: removed function that has no body. Signed-off-by: Christoph M. Wintersteiger --- examples/python/complex/complex.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/python/complex/complex.py b/examples/python/complex/complex.py index d90c01e93..a2de4a6cc 100644 --- a/examples/python/complex/complex.py +++ b/examples/python/complex/complex.py @@ -65,9 +65,6 @@ class ComplexExpr: def __neq__(self, other): return Not(self.__eq__(other)) - def __pow__(self, k): - - def simplify(self): return ComplexExpr(simplify(self.r), simplify(self.i))