From: Jens Vollinga Date: Thu, 22 Nov 2007 02:40:31 +0000 (+0000) Subject: Fixed memory leak program. X-Git-Tag: release_1-5-0~122 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=789b6b908fadc1139e9bc1a4611cc957ad11579b;hp=48a6c5094dd4ff641d0875b1303cfa8b2b489da1 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;