From: Jens Vollinga Date: Thu, 22 Nov 2007 02:41:11 +0000 (+0000) Subject: Synced to HEAD: X-Git-Tag: release_1-3-9~1 X-Git-Url: https://ginac.de/ginac.git/tutorial/ginac.git?a=commitdiff_plain;h=62588ef594d16a730c6a0f7cb6a66bd6f918d511;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;