From 62588ef594d16a730c6a0f7cb6a66bd6f918d511 Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Thu, 22 Nov 2007 02:41:11 +0000 Subject: [PATCH] Synced to HEAD: Fixed memory leak program. --- check/parser_memleak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/parser_memleak.cpp b/check/parser_memleak.cpp index ebc6ed9f..d1d4bccd 100644 --- a/check/parser_memleak.cpp +++ b/check/parser_memleak.cpp @@ -18,7 +18,7 @@ int main(int argc, char** argv) { const symbol x("x"), y("y"); const lst syms(x, y); // parser-generated symbol => memory leak. - static const char* str[] = { "x2+2*x*y + cos(x)", "Li2(x/y) + log(y/x)" }; + static const char* str[] = { "x²+2*x*y + cos(x)", "Li2(x/y) + log(y/x)" }; // depends on the amount of the available VM, compiler options, etc. const unsigned N_max = 500000; -- 2.47.0