From: Jens Vollinga Date: Thu, 22 Nov 2007 02:40:58 +0000 (+0000) Subject: Synced to HEAD: X-Git-Tag: release_1-4-1~1 X-Git-Url: https://www.ginac.de/ginac.git/tutorial/ginac.git?a=commitdiff_plain;h=faf32c81db5236a2aa3b9cc73cbca633fd303bce;p=ginac.git Synced to HEAD: Fixed memory leak program. --- 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;